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