diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-09 08:14:05 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-09 08:14:05 +0300 |
commit | 2f6603e58174e5aff35fbc0ce6a9616dc77b077a (patch) | |
tree | 86a4383571f73ad2666cc879ae67c1fb5059cf70 /features/steps/project/project.rb | |
parent | ab344f31b6a9b9456ffed1d30fb77bc6bd0a2381 (diff) | |
download | gitlab-ce-2f6603e58174e5aff35fbc0ce6a9616dc77b077a.tar.gz |
A bit of spinach tests
Diffstat (limited to 'features/steps/project/project.rb')
-rw-r--r-- | features/steps/project/project.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/features/steps/project/project.rb b/features/steps/project/project.rb index f33f12eb0a8..7a85f57a218 100644 --- a/features/steps/project/project.rb +++ b/features/steps/project/project.rb @@ -2,4 +2,17 @@ class Projects < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths + + And 'change project settings' do + fill_in 'project_name', with: 'NewName' + uncheck 'project_issues_enabled' + end + + And 'I save project' do + click_button 'Save' + end + + Then 'I should see project with new settings' do + find_field('project_name').value.should == 'NewName' + end end |