-
-
Save ahawkins/1140363 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment