2012-09-10 17:35:03 +02:00
|
|
|
class Projects < Spinach::FeatureSteps
|
|
|
|
include SharedAuthentication
|
|
|
|
include SharedProject
|
|
|
|
include SharedPaths
|
2013-01-09 06:14:05 +01: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'
|
|
|
|
end
|
|
|
|
|
|
|
|
Then 'I should see project with new settings' do
|
|
|
|
find_field('project_name').value.should == 'NewName'
|
|
|
|
end
|
2012-09-10 17:35:03 +02:00
|
|
|
end
|