Sha256: 47fce529e4587fbe93791a47056a73db4918c5040c836d7a44104327a1d0cc6e
Contents?: true
Size: 625 Bytes
Versions: 51
Compression:
Stored size: 625 Bytes
Contents
############################################################################## # Shoulda Plugin ############################################################################## begin require 'shoulda-matchers' rescue LoadError end if defined? Shoulda if defined? RSpec::Rails 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 end
Version data entries
51 entries across 51 versions & 1 rubygems