Sha256: 2d48d858929a4c95f31776600a57a39e10ae61d4d43186148fcc9aa175ce625e

Contents?: true

Size: 167 Bytes

Versions: 18

Compression:

Stored size: 167 Bytes

Contents

require 'rspec/expectations'

RSpec::Matchers.define :have_aggregate_type do |expected|
  match do |actual|
    actual[:aggregate_type].to_s == expected.to_s
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
sandthorn-1.3.0 spec/support/custom_matchers.rb
sandthorn-1.2.0 spec/support/custom_matchers.rb
sandthorn-1.1.0 spec/support/custom_matchers.rb
sandthorn-1.0.0 spec/support/custom_matchers.rb
sandthorn-0.13.0 spec/support/custom_matchers.rb
sandthorn-0.12.0 spec/support/custom_matchers.rb
sandthorn-0.11.0 spec/support/custom_matchers.rb
sandthorn-0.10.3 spec/support/custom_matchers.rb
sandthorn-0.10.2 spec/support/custom_matchers.rb
sandthorn-0.10.1 spec/support/custom_matchers.rb
sandthorn-0.10.0 spec/support/custom_matchers.rb
sandthorn-0.9.2 spec/support/custom_matchers.rb
sandthorn-0.9.1 spec/support/custom_matchers.rb
sandthorn-0.9.0 spec/support/custom_matchers.rb
sandthorn-0.8.1 spec/support/custom_matchers.rb
sandthorn-0.8.0 spec/support/custom_matchers.rb
sandthorn-0.7.0 spec/support/custom_matchers.rb
sandthorn-0.6.0 spec/support/custom_matchers.rb