A bit of spinach tests

This commit is contained in:
Dmitriy Zaporozhets 2013-01-09 08:14:05 +03:00
parent ab344f31b6
commit 2f6603e581
11 changed files with 116 additions and 95 deletions

View file

@ -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