Skip to content
Snippets Groups Projects
Commit 6a4b2175 authored by ilya's avatar ilya
Browse files

removed the random duplicated line

parent d4702aef
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,6 @@ describe User do
it 'sends email to the invited user' do
::Devise.mailer.should_receive(:invitation).once
inviter.invite_user(:email => "ian@example.com", :aspect_id => aspect.id)
inviter.invite_user(:email => "ian@example.com", :aspect_id => aspect.id)
end
it 'adds the inviter to the invited_user' do
......@@ -97,7 +96,6 @@ describe User do
:password_confirmation => "secret",
:person => {:profile => {:first_name => "Bob",
:last_name => "Smith"}} )
u.reload
u.pending_requests
u.pending_requests.count.should == 1
request = u.pending_requests.first
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment