This file contains 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 |
NewerOlder