Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Project.first(:permalink => "integrity").should be_nil
- login_as "admin", "test"
- get "/new"
- fill_in "Name", :with => "Integrity"
- fill_in "Git repository", :with => "git://github.com/foca/integrity.git"
- fill_in "Branch to track", :with => "master"
- fill_in "Build script", :with => "rake"
- check "Public project"
- click_button "Create Project"
- puts response_body
- #debugger
- current_url.should == "/integrity"
- response_code.should == 200
- Project.first(:permalink => "integrity").should_not be_nil
- log_out
- get "/integrity"
- current_url.should == "/integrity"
- response_code.should == 200
Add Comment
Please, Sign In to add comment