Sha256: a17824740517e98347794cdf02393e6a8aab00dfe29a8c2b12fac8c8f47f2fdf

Contents?: true

Size: 175 Bytes

Versions: 5

Compression:

Stored size: 175 Bytes

Contents

# Common matchers for hexx/exceptions specs

RSpec::Matchers.define :inherit do |ancestor|
  match do |subject|
    expect(subject.ancestors).to be_include ancestor
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hexx-1.1.1 spec/support/exception_matchers.rb
hexx-1.1.0 spec/support/exception_matchers.rb
hexx-1.0.2 spec/support/exception_matchers.rb
hexx-1.0.1 spec/support/exception_matchers.rb
hexx-1.0.0 spec/support/exception_matchers.rb