Sha256: 59071a0e0264164251b9226bdb45198f8c48d935fa47cc39186e27432ec01324

Contents?: true

Size: 144 Bytes

Versions: 1

Compression:

Stored size: 144 Bytes

Contents

RSpec::Matchers.define :have_content do |expected|
  match do |actual|
    actual.respond_to?(:body) && actual.body.include?(expected)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
swfobject-rails-2.0 spec/support/have_content_matcher.rb