Commit ff765bb27ea405b85804348e0c9458519a87ee6a

Authored by Dmitriy Zaporozhets
1 parent e3f361fa

Remove issues search rspec since we test it with spinach too

features/project/issues/issues.feature
... ... @@ -47,7 +47,6 @@ Feature: Project Issues
47 47 Then I should not see "Release 0.4" in issues
48 48 And I should not see "Release 0.3" in issues
49 49  
50   -
51 50 @javascript
52 51 Scenario: I search all issues
53 52 Given I click link "All"
... ...
spec/features/issues_spec.rb
... ... @@ -45,40 +45,6 @@ describe "Issues" do
45 45 end
46 46 end
47 47  
48   - describe "Search issue", js: true do
49   - before do
50   - ['foobar', 'foobar2', 'gitlab'].each do |title|
51   - create(:issue,
52   - author: @user,
53   - assignee: @user,
54   - project: project,
55   - title: title)
56   - end
57   - end
58   -
59   - it "should be able to search on different statuses" do
60   - issue = Issue.first # with title 'foobar'
61   - issue.close
62   -
63   - visit project_issues_path(project)
64   - click_link 'Closed'
65   - fill_in 'issue_search', with: 'foobar'
66   -
67   - page.should have_content 'foobar'
68   - page.should_not have_content 'foobar2'
69   - page.should_not have_content 'gitlab'
70   - end
71   -
72   - it "should search for term and return the correct results" do
73   - visit project_issues_path(project)
74   - fill_in 'issue_search', with: 'foobar'
75   -
76   - page.should have_content 'foobar'
77   - page.should have_content 'foobar2'
78   - page.should_not have_content 'gitlab'
79   - end
80   - end
81   -
82 48 describe "Filter issue" do
83 49 before do
84 50 ['foobar', 'barbaz', 'gitlab'].each do |title|
... ...