Sha256: 3c2b302f939459a47af65cd4cbb6ea121ea3cca3c882f4a1cd7201907c3f1f0b

Contents?: true

Size: 317 Bytes

Versions: 16

Compression:

Stored size: 317 Bytes

Contents

if defined? Shoulda::Matchers
  module ShouldaRoutingMatchers
    def route(method, path)
      Shoulda::Matchers::ActionController::RouteMatcher.new(method, path, self)
    end
  end

  module RSpec
    module Rails
      module RoutingExampleGroup
        include ShouldaRoutingMatchers
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rspectacular-0.12.0 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.11.1 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.11.0 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.10.1 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.10.0 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.9.2 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.9.1 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.9.0 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.8.0 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.7.0 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.6.1 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.5.0 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.4.0 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.3.0 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.2.0 lib/rspectacular/plugins/shoulda.rb
rspectacular-0.1.0 lib/rspectacular/plugins/shoulda.rb