Sha256: 9871279d86842ec320fb2a5237bec39c29d5ac6b34dab93c402b3620f8985251

Contents?: true

Size: 139 Bytes

Versions: 6

Compression:

Stored size: 139 Bytes

Contents

RSpec::Matchers.define :all_be do |expected_class|
  match do |actual_array|
    actual_array.all? { |x| x.is_a? expected_class }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mailroute-0.0.6 spec/support/custom_matchers.rb
mailroute-0.0.5 spec/support/custom_matchers.rb
mailroute-0.0.4 spec/support/custom_matchers.rb
mailroute-0.0.3 spec/support/custom_matchers.rb
mailroute-0.0.2 spec/support/custom_matchers.rb
mailroute-0.0.1 spec/support/custom_matchers.rb