Sha256: 8ae880e934680ae05fe913ca49e71e565cc1ec09a81d30299370f42cdfd17267

Contents?: true

Size: 189 Bytes

Versions: 9

Compression:

Stored size: 189 Bytes

Contents

require 'webmock/rspec'

RSpec.configure do
  def json_stub(content_stub)
    {
      headers: { content_type: 'application/json' },
      body: JSON.generate(content_stub)
    }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mrkt-1.2.2 spec/support/webmock.rb
mrkt-1.2.1 spec/support/webmock.rb
mrkt-1.2.0 spec/support/webmock.rb
mrkt-1.1.1 spec/support/webmock.rb
mrkt-1.1.0 spec/support/webmock.rb
mrkt-1.0.1 spec/support/webmock.rb
mrkt-1.0.0 spec/support/webmock.rb
mrkt-0.11.1 spec/support/webmock.rb
mrkt-0.4.0 spec/support/webmock.rb