spec/support/fake_github.rb in travis-1.6.4.travis.410.4 vs spec/support/fake_github.rb in travis-1.6.4.travis.411.4

- old
+ new

@@ -5,9 +5,13 @@ def setup(host, options) @authenticated = options[:password] == 'password' super end + def http(*) + raise NotImplementedError + end + def post(key, body) raise GH::Error unless @authenticated and key == '/authorizations' frontend.load("url" => "https://api.github.com/authorizations/1", "token" => "github_token") end