VRFS-756 broken test fix
This commit is contained in:
parent
490b8ad06c
commit
82722d2cbc
|
|
@ -147,8 +147,8 @@ describe "User Progression", :type => :api do
|
|||
|
||||
it "invites user" do
|
||||
user.first_invited_at.should be_nil
|
||||
post '/api/invited_users.json', {:email => 'tester@jamkazam.com', :note => "please join"}.to_json, "CONTENT_TYPE" => 'application/json'
|
||||
last_response.status.should eql(201)
|
||||
post '/api/invited_users.json', {:emails => ['tester@jamkazam.com'], :note => "please join"}.to_json, "CONTENT_TYPE" => 'application/json'
|
||||
last_response.status.should eql(200)
|
||||
user.reload
|
||||
user.first_invited_at.should_not be_nil
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue