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
classiccms-0.7.2 vendor/bundle/gems/rack-test-0.6.1/spec/support/matchers/body.rb
classiccms-0.7.1 vendor/bundle/gems/rack-test-0.6.1/spec/support/matchers/body.rb
swipe-rails-0.0.5 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
active_mailer-0.0.9 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
active_mailer-0.0.8 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
active_mailer-0.0.7 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
active_mailer-0.0.6 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
classiccms-0.7.0 vendor/bundle/gems/rack-test-0.6.1/spec/support/matchers/body.rb
font-awesome-rails-3.1.1.2 vendor/ruby/2.0.0/gems/rack-test-0.6.2/spec/support/matchers/body.rb
font-awesome-rails-3.1.1.2 vendor/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
font-awesome-rails-3.1.1.1 vendor/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
font-awesome-rails-3.1.1.1 vendor/ruby/2.0.0/gems/rack-test-0.6.2/spec/support/matchers/body.rb
challah-1.0.0.beta3 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
fc-webicons-0.0.4 vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
challah-1.0.0.beta2 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
challah-1.0.0.beta vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
fc-webicons-0.0.3 vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
fc-webicons-0.0.2 vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
fc-webicons-0.0.1 vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
active_mailer-0.0.5 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb