Sha256: 8de761f62935c73969f29593fd5abefd90aab7ff9180e828f5b186bde06d7b63

Contents?: true

Size: 272 Bytes

Versions: 56

Compression:

Stored size: 272 Bytes

Contents

module Her
  module Testing
    module Macros
      def ok!(body)
        [200, {}, body.to_json]
      end

      def error!(body)
        [400, {}, body.to_json]
      end

      def params(env)
        Faraday::Utils.parse_query(env[:body])
      end
    end
  end
end

Version data entries

56 entries across 56 versions & 5 rubygems

Version Path
her-1.1.1 spec/support/macros/her_macros.rb
her-1.1.0 spec/support/macros/her_macros.rb
her-0.10.4 spec/support/macros/her_macros.rb
her-1.0.3 spec/support/macros/her_macros.rb
her-0.10.3 spec/support/macros/her_macros.rb
her-1.0.2 spec/support/macros/her_macros.rb
her-0.10.2 spec/support/macros/her_macros.rb
her-1.0.1 spec/support/macros/her_macros.rb
her-1.0.0 spec/support/macros/her_macros.rb
her-0.10.1 spec/support/macros/her_macros.rb
her-0.10.0 spec/support/macros/her_macros.rb
test_track_rails_client-2.0.0 vendor/gems/her/spec/support/macros/her_macros.rb
test_track_rails_client-1.3.0 vendor/gems/her/spec/support/macros/her_macros.rb
test_track_rails_client-1.2.0 vendor/gems/her/spec/support/macros/her_macros.rb
her-0.9.0 spec/support/macros/her_macros.rb
test_track_rails_client-1.1.0 vendor/gems/her/spec/support/macros/her_macros.rb
test_track_rails_client-1.0.0 vendor/gems/her/spec/support/macros/her_macros.rb
her-0.8.6 spec/support/macros/her_macros.rb
her-0.8.5 spec/support/macros/her_macros.rb
test_track_rails_client-0.9.20 vendor/gems/her/spec/support/macros/her_macros.rb