Skip to content

Instantly share code, notes, and snippets.

View ahawkins's full-sized avatar
💭
🌈🏄🏼‍♂️🤙🏻

Adam Hawkins ahawkins

💭
🌈🏄🏼‍♂️🤙🏻
View GitHub Profile
let(:attributes) { {:email => '[email protected]', :password => 'password'}}
it "should assign the new user as company admin" do
post :create, :user => attributes
user = User.find_by_email! '[email protected]'
user.foo.should be_true
end