gitlab-org--gitlab-foss/features/steps/project/project.rb

19 lines
429 B
Ruby
Raw Normal View History

class ProjectFeature < Spinach::FeatureSteps
2012-09-10 15:35:03 +00:00
include SharedAuthentication
include SharedProject
include SharedPaths
2013-01-09 05:14:05 +00:00
And 'change project settings' do
fill_in 'project_name', with: 'NewName'
uncheck 'project_issues_enabled'
end
And 'I save project' do
click_button 'Save changes'
2013-01-09 05:14:05 +00:00
end
Then 'I should see project with new settings' do
find_field('project_name').value.should == 'NewName'
end
2012-09-10 15:35:03 +00:00
end