2013-01-17 10:35:57 -05:00
|
|
|
class ProjectFeature < Spinach::FeatureSteps
|
2012-09-10 11:35:03 -04:00
|
|
|
include SharedAuthentication
|
|
|
|
include SharedProject
|
|
|
|
include SharedPaths
|
2013-01-09 00:14:05 -05: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 11:35:03 -04:00
|
|
|
end
|