spec/trakio/exception_spec.rb in trakio-ruby-0.2.0 vs spec/trakio/exception_spec.rb in trakio-ruby-0.2.1
- old
+ new
@@ -21,10 +21,10 @@
event: 'my-event'
}
}).to_return(:body => {
status: 'error',
code: 401,
- exception: "TrakioAPI::Exceptions::InvalidToken",
+ exception: "InvalidToken",
message: "Missing or invalid API token.",
details: "You must provide a valid API token, see http://docs.trak.io/authentication.html."
}.to_json)
trakio = Trakio.new 'my_api_token'