Fixed protected branches and file edit

This commit is contained in:
Dmitriy Zaporozhets 2013-01-04 21:45:30 +02:00
parent afbdbb0c95
commit ef5b36eaaf
9 changed files with 21 additions and 20 deletions

View file

@ -3,13 +3,13 @@ class CreateProject < Spinach::FeatureSteps
include SharedPaths
And 'fill project form with valid data' do
fill_in 'project_name', :with => 'NewProject'
fill_in 'project_name', with: 'Empty'
click_button "Create project"
end
Then 'I should see project page' do
current_path.should == project_path(Project.last)
page.should have_content "NewProject"
page.should have_content "Empty"
end
And 'I should see empty project instuctions' do