diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 17:37:11 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 17:37:11 +0400 |
commit | 2465a4fdb27ff90a58974b2d2dbf191626f53169 (patch) | |
tree | 86566ddcc6ebcf38c710ebf5b5dd2e847feebfff /spec | |
parent | 70af962963e6fd353c6d866899e571776b24b044 (diff) |
removed few outdated tests
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 |