Module: RSpec::Rails::Matchers::RoutingMatchers

Defined in:
lib/xing/spec_helpers/routing_spec_patch.rb

Overview

Matchers to help with specs for routing code.

Defined Under Namespace

Classes: FrontendRouteToMatcher, RouteToMatcher

Instance Method Summary collapse

Instance Method Details

#frontend_route_to(*expected) ⇒ Object



21
22
23
# File 'lib/xing/spec_helpers/routing_spec_patch.rb', line 21

def frontend_route_to(*expected)
  FrontendRouteToMatcher.new(self, *expected)
end