Sha256: 68e3904434a63b2b158b810de1b88126ff585c60be7d0a41e401f9362005b551
Contents?: true
Size: 177 Bytes
Versions: 1
Compression:
Stored size: 177 Bytes
Contents
RSpec::Matchers.define :be_composed_of do |expected_class| match do |actual| expect(actual).to_not be_empty actual.all? {|item| item.is_a?(expected_class) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opennorth-represent-0.1.0 | spec/support/composed_of_matcher.rb |