summaryrefslogtreecommitdiff
path: root/spec/features/issues_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-26 15:56:05 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-26 15:56:05 +0300
commitff765bb27ea405b85804348e0c9458519a87ee6a (patch)
tree7cb378f2ae6e2cda01f5ab73bcdf178dd6908f1e /spec/features/issues_spec.rb
parente3f361faedc24dcfc1a5b57f0913ecb2dbb89247 (diff)
downloadgitlab-ce-ff765bb27ea405b85804348e0c9458519a87ee6a.tar.gz
Remove issues search rspec since we test it with spinach too
Diffstat (limited to 'spec/features/issues_spec.rb')
-rw-r--r--spec/features/issues_spec.rb34
1 files changed, 0 insertions, 34 deletions
diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb
index 6fff59f036f..0c09279e3dc 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|