A bit of spinach tests
This commit is contained in:
parent
ab344f31b6
commit
2f6603e581
11 changed files with 116 additions and 95 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue