authy/authy-ruby — pull request #15 by marcioj (2014-10-01 17:18:34+00:00)
Title: Fix specs

Hi, I forked this repo and ran the specs, but then I received the following errors:

Failures:

1) Authy::Response should be ok if the return code is 200
Failure/Error: @response.ok?.should be_true
expected true to respond to `true?`
# ./spec/authy/response_spec.rb:17:in `block (2 levels) in '

2) Authy::API verificating tokens should fail to validate a given token if the user is not registered
Failure/Error: response.ok?.should be_false
expected false to respond to `false?`
# ./spec/authy/api_spec.rb:53:in `block (3 levels) in '

This PR fix this problem.