Sha256: 04aa8b60e3daec36002b6e03f174f4a62ee18c6b2ac03584acb0fda297c9d339
Contents?: true
Size: 290 Bytes
Versions: 1
Compression:
Stored size: 290 Bytes
Contents
RSpec::Matchers.define :be_routing_for do |klass,**args| match do |uri| uri == Brut.container.routing.uri(klass,**args) end failure_message do |uri| expected = Brut.container.routing.uri(klass,**args) "Expected route for #{klass}: #{expected}, but got #{uri}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brut-0.0.1 | lib/brut/spec_support/matchers/be_routing_for.rb |