diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-11 01:19:28 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-11 01:19:28 +0300 |
commit | 8527e8d5996bb5543cb5a13e857b864b466a31f2 (patch) | |
tree | 45ed0dbd7037b8832860fe671179180464f1b600 /features/steps/groups.rb | |
parent | 04c674e6792ad638dfb505f06f4cf9e980bb4a74 (diff) |
Fix test for creating group from dashboard
Diffstat (limited to 'features/steps/groups.rb')
-rw-r--r-- | features/steps/groups.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/features/steps/groups.rb b/features/steps/groups.rb index c3c34070e2e..91921f5e21c 100644 --- a/features/steps/groups.rb +++ b/features/steps/groups.rb @@ -72,25 +72,6 @@ class Spinach::Features::Groups < Spinach::FeatureSteps author: current_user end - When 'I click new group link' do - click_link "New group" - end - - step 'submit form with new group "Samurai" info' do - fill_in 'group_path', with: 'Samurai' - fill_in 'group_description', with: 'Tokugawa Shogunate' - click_button "Create group" - end - - step 'I should be redirected to group "Samurai" page' do - current_path.should == group_path(Group.find_by(name: 'Samurai')) - end - - step 'I should see newly created group "Samurai"' do - page.should have_content "Samurai" - page.should have_content "Tokugawa Shogunate" - end - step 'I change group "Owned" name to "new-name"' do fill_in 'group_name', with: 'new-name' fill_in 'group_path', with: 'new-name' |