From ff765bb27ea405b85804348e0c9458519a87ee6a Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 26 Sep 2013 15:56:05 +0300 Subject: [PATCH] Remove issues search rspec since we test it with spinach too --- features/project/issues/issues.feature | 1 - spec/features/issues_spec.rb | 34 ---------------------------------- 2 files changed, 35 deletions(-) diff --git a/features/project/issues/issues.feature b/features/project/issues/issues.feature index 022188f82..a4415736d 100644 --- a/features/project/issues/issues.feature +++ b/features/project/issues/issues.feature @@ -47,7 +47,6 @@ Feature: Project Issues Then I should not see "Release 0.4" in issues And I should not see "Release 0.3" in issues - @javascript Scenario: I search all issues Given I click link "All" diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb index 6fff59f03..0c09279e3 100644 --- a/spec/features/issues_spec.rb +++ b/spec/features/issues_spec.rb @@ -45,40 +45,6 @@ describe "Issues" do end end - describe "Search issue", js: true do - before do - ['foobar', 'foobar2', 'gitlab'].each do |title| - create(:issue, - author: @user, - assignee: @user, - project: project, - title: title) - end - end - - it "should be able to search on different statuses" do - issue = Issue.first # with title 'foobar' - issue.close - - visit project_issues_path(project) - click_link 'Closed' - fill_in 'issue_search', with: 'foobar' - - page.should have_content 'foobar' - page.should_not have_content 'foobar2' - page.should_not have_content 'gitlab' - end - - it "should search for term and return the correct results" do - visit project_issues_path(project) - fill_in 'issue_search', with: 'foobar' - - page.should have_content 'foobar' - page.should have_content 'foobar2' - page.should_not have_content 'gitlab' - end - end - describe "Filter issue" do before do ['foobar', 'barbaz', 'gitlab'].each do |title| -- 2.11.0