2013-01-17 16:35:57 +01:00
|
|
|
class ProjectFeature < Spinach::FeatureSteps
|
2012-09-10 17:35:03 +02:00
|
|
|
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
|