Fix tests

This commit is contained in:
Dmitriy Zaporozhets 2012-10-05 17:01:44 +03:00
parent 58dad2b954
commit 74213534bc

View file

@ -87,7 +87,7 @@ describe "Admin::Projects" do
visit new_admin_project_path
fill_in 'project_name', with: 'NewProject'
fill_in 'project_code', with: 'NPR'
fill_in 'project_path', with: 'newproject'
fill_in 'project_path', with: 'gitlabhq_1'
expect { click_button "Create project" }.to change { Project.count }.by(1)
@project = Project.last
end