Sha256: 75b1fc6d31729ab9819f8488094880812bb26e36cc1d5f11ce6bea0b94f738c3
Contents?: true
Size: 390 Bytes
Versions: 4
Compression:
Stored size: 390 Bytes
Contents
RSpec::Matchers.define :include_fixture_data do match do |body| if body.empty? #&& did_not_declare_fixtures pending 'Make your tests more meaningful by declaring fixtures!' end !body.empty? end description do %Q(have some values from the fixtures) end failure_message_for_should do |response| %Q(should #{description}, but got an empty array) end end
Version data entries
4 entries across 4 versions & 1 rubygems