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
active_mailer-0.0.4 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.3 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
graphael-on-rails-0.5.1 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
graphael-on-rails-0.0.1 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
challah-0.9.1.beta.3 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
devise_sociable-0.1.0 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
backbone-queryparams-rails-0.0.1 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
railscast-assets-0.0.2 vendor/bundle/gems/backbone-forms-on-rails-0.10.0/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
railscast-assets-0.0.2 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
backbone-forms-on-rails-0.10.0 vendor/bundle/gems/backbone-forms-on-rails-0.10.0/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
backbone-forms-on-rails-0.10.0 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
backbone-deep-rails-0.0.1 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
challah-0.9.1.beta vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb
challah-0.9.0 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
classiccms-0.6.9 vendor/bundle/gems/rack-test-0.6.1/spec/support/matchers/body.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/jquery_regex-0.0.2/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
jquery_regex-0.0.3 vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.2/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb