diff options
author | James Lopez <james@jameslopez.es> | 2016-01-26 14:16:47 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-01-26 14:16:47 +0300 |
commit | 89aeed183ccbadc9580945a68b8df83f50856c2c (patch) | |
tree | 46838271c51f28a26522b568f0349c81f40dbe82 /features/steps | |
parent | eb7f669073b2b95a1956de5e22f97dc8f83711e8 (diff) |
feature and fix for 500 on group missing
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/explore/groups.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/explore/groups.rb b/features/steps/explore/groups.rb index 87f32e70d59..68c473e7b29 100644 --- a/features/steps/explore/groups.rb +++ b/features/steps/explore/groups.rb @@ -26,6 +26,10 @@ 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 |