From 2465a4fdb27ff90a58974b2d2dbf191626f53169 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 19 Mar 2013 15:37:11 +0200 Subject: [PATCH] removed few outdated tests --- spec/features/gitlab_flavored_markdown_spec.rb | 10 ---------- spec/routing/project_routing_spec.rb | 6 +----- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/spec/features/gitlab_flavored_markdown_spec.rb b/spec/features/gitlab_flavored_markdown_spec.rb index a3ed0d52..a57e34ac 100644 --- a/spec/features/gitlab_flavored_markdown_spec.rb +++ b/spec/features/gitlab_flavored_markdown_spec.rb @@ -196,15 +196,5 @@ describe "Gitlab Flavored Markdown" do page.should have_link("##{issue.id}") end - - it "should render in projects#wall", js: true do - visit project_wall_path(project) - within ".new_note.js-main-target-form" do - fill_in "note_note", with: "see ##{issue.id}" - click_button "Add Comment" - end - - page.should have_link("##{issue.id}") - end end end diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb index 98644149..41533f8b 100644 --- a/spec/routing/project_routing_spec.rb +++ b/spec/routing/project_routing_spec.rb @@ -71,11 +71,7 @@ describe ProjectsController, "routing" do end it "to #wall" do - get("/gitlabhq/wall").should route_to('projects#wall', id: 'gitlabhq') - end - - it "to #files" do - get("/gitlabhq/files").should route_to('projects#files', id: 'gitlabhq') + get("/gitlabhq/wall").should route_to('walls#show', project_id: 'gitlabhq') end it "to #edit" do