Sha256: a1fdf79e89e69059cb922fd862699e1fc954795b5af095509b108d876ebe5bd1
Contents?: true
Size: 309 Bytes
Versions: 1
Compression:
Stored size: 309 Bytes
Contents
class RallyAuthResponder < GenericResponder def call(env) @requests << request = Rack::Request.new(env) if request.url == 'https://rally1.rallydev.com/slm/webservice/current/user' [200, {}, ['<User><DisplayName></DisplayName></User>']] else [500, {}, ['oh noes']] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rallycat-0.4.0 | spec/support/rally_auth_responder.rb |