Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-26 20:05:55 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-26 20:05:55 +0400
commit12dd7d2a9ab3066085572e0a47425a0442dd07ab (patch)
tree9b872d058408409e3c3b548a4ad711a79dec98ee /features/steps/project/project_issues.rb
parent8063672adda8cda6765a2c7691c403217985d1fc (diff)
Fix issues search test
Diffstat (limited to 'features/steps/project/project_issues.rb')
-rw-r--r--features/steps/project/project_issues.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/features/steps/project/project_issues.rb b/features/steps/project/project_issues.rb
index 70e5cdf4a94..70c9b3a3f2e 100644
--- a/features/steps/project/project_issues.rb
+++ b/features/steps/project/project_issues.rb
@@ -12,6 +12,10 @@ class ProjectIssues < Spinach::FeatureSteps
page.should_not have_content "Release 0.3"
end
+ And 'I should not see "Tweet feature" in issues' do
+ page.should_not have_content "Tweet feature"
+ end
+
Given 'I click link "Closed"' do
click_link "Closed"
end
@@ -123,6 +127,14 @@ class ProjectIssues < Spinach::FeatureSteps
author: project.users.first)
end
+ And 'project "Shop" have "Tweet feature" open issue' do
+ project = Project.find_by_name("Shop")
+ create(:issue,
+ title: "Tweet feature",
+ project: project,
+ author: project.users.first)
+ end
+
And 'project "Shop" have "Release 0.3" closed issue' do
project = Project.find_by_name("Shop")
create(:closed_issue,