diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/gitlab_flavored_markdown_spec.rb | 10 | ||||
-rw-r--r-- | spec/routing/project_routing_spec.rb | 6 |
2 files changed, 1 insertions, 15 deletions
diff --git a/spec/features/gitlab_flavored_markdown_spec.rb b/spec/features/gitlab_flavored_markdown_spec.rb index a3ed0d52b72..a57e34ac5d2 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 986441494a5..41533f8b4fe 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 |