Sha256: 9f3ee4c78d27172675beb3396d25d0c7ff1eec9ee53daa1f60c911c5e17fe1fe

Contents?: true

Size: 177 Bytes

Versions: 184

Compression:

Stored size: 177 Bytes

Contents

RSpec::Matchers.define :have_body do |expected|
  match do |response|
    response.body.should == expected
  end

  description do
    "have body #{expected.inspect}"
  end
end

Version data entries

184 entries across 158 versions & 37 rubygems

Version Path
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
classiccms-0.7.5 vendor/bundle/gems/rack-test-0.6.1/spec/support/matchers/body.rb
classiccms-0.7.4 vendor/bundle/gems/rack-test-0.6.1/spec/support/matchers/body.rb
classiccms-0.7.3 vendor/bundle/gems/rack-test-0.6.1/spec/support/matchers/body.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/body.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/body.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/body.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
rack-test-0.6.3 spec/support/matchers/body.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/support/matchers/body.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/support/matchers/body.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/support/matchers/body.rb
nanumfont-rails-0.1 vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/support/matchers/body.rb
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/rack-test-0.6.2/spec/support/matchers/body.rb
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/support/matchers/body.rb
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/support/matchers/body.rb
challah-1.0.0 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb