Guest User

Untitled

a guest
Jan 24th, 2018
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. let(:attributes) { {:email => 'adam@rails.com', :password => 'password'}}
  2.  
  3. it "should assign the new user as company admin" do
  4. post :create, :user => attributes
  5. user = User.find_by_email! 'adam@rails.com'
  6. user.foo.should be_true
  7. end
Add Comment
Please, Sign In to add comment