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
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/body.rb
tdiary-5.0.5 vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/body.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/rack-test-0.6.3/spec/support/matchers/body.rb
tdiary-5.0.4 vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/body.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
abaci-0.3.0 vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/body.rb
arcabouco-0.2.13 vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/body.rb
tdiary-5.0.2 vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/body.rb
tdiary-5.0.1 vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/body.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/rack-test-0.6.3/spec/support/matchers/body.rb