diff options
author | James Lopez <james@jameslopez.es> | 2016-01-27 11:23:28 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-01-27 11:23:28 +0100 |
commit | 5eb936dc318297473a40ab9cac06de106dc71c41 (patch) | |
tree | 66964461278a9847f7b818a784abbfdc74fcf4e5 /features/steps | |
parent | eef9c9d4476c46cf13215814944eed47576f862a (diff) | |
download | gitlab-ce-5eb936dc318297473a40ab9cac06de106dc71c41.tar.gz |
moved and refactored feature based on feedback. Also updated CHANGELOG
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/explore/groups.rb | 4 | ||||
-rw-r--r-- | features/steps/groups.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/features/steps/explore/groups.rb b/features/steps/explore/groups.rb index 68c473e7b29..87f32e70d59 100644 --- a/features/steps/explore/groups.rb +++ b/features/steps/explore/groups.rb @@ -26,10 +26,6 @@ class Spinach::Features::ExploreGroups < Spinach::FeatureSteps visit group_path(Group.find_by(name: "TestGroup")) end - step 'I visit group "NonExistentGroup" page' do - visit group_path(-1) - end - step 'I visit group "TestGroup" issues page' do visit issues_group_path(Group.find_by(name: "TestGroup")) end diff --git a/features/steps/groups.rb b/features/steps/groups.rb index 4c5122d1b7d..1e2a78a6029 100644 --- a/features/steps/groups.rb +++ b/features/steps/groups.rb @@ -120,6 +120,10 @@ class Spinach::Features::Groups < Spinach::FeatureSteps expect(page).to have_xpath("//span[@class='label label-warning']", text: 'archived') end + step 'I visit group "NonExistentGroup" page' do + visit group_path(-1) + end + private def assigned_to_me(key) |