lib/cadenero/testing_support/authentication_helpers.rb in cadenero-0.0.2.b8 vs lib/cadenero/testing_support/authentication_helpers.rb in cadenero-0.0.2.b10
- old
+ new
@@ -97,10 +97,10 @@
# Expect that a user sign in successfuly to an account
# @param [Cadenero::V1::Account] account
# @return [String] email for the last response user
def successful_sign_up_user_in_existing_account_with_session(account, suffix=nil)
- url = "http://#{account.subdomain}.example.com/"
+ url = "http://#{account.subdomain}.example.com/"
sign_up_user url, suffix
expect(last_request.url).to eq "#{url}v1/users"
get "#{url}v1/users/#{json_last_response_body['user']['id']}"
expect_subject_ids_to_have("user", "membership_ids", [account.id], 200)
return json_last_response_body["user"]["email"]
\ No newline at end of file