Module: RSpec::Rails::RoutingExampleGroup
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
MinitestAssertionAdapter::ClassMethods ,
SetupAndTeardownAdapter::ClassMethods ,
ActiveSupport::Concern
|
|
Instance Chain:
self,
RSpec::Rails::AssertionDelegator.new(
ActionDispatch::Assertions::RoutingAssertions
),
Matchers::RoutingMatchers::RouteHelpers ,
Matchers::RoutingMatchers ,
RailsExampleGroup ,
ActiveSupport::ExecutionContext::TestHelper,
ActiveSupport::CurrentAttributes::TestHelper,
TaggedLoggingAdapter ,
FixtureSupport::Fixtures ,
FixtureSupport ,
ActiveRecord::TestFixtures,
MinitestAssertionAdapter ,
MinitestLifecycleAdapter ,
SetupAndTeardownAdapter
|
|
Defined in: | rspec-rails/lib/rspec/rails/example/routing_example_group.rb |
Overview
Container module for routing spec functionality.
Class Method Summary
MinitestAssertionAdapter::ClassMethods
- Extended
assertion_method_names | Returns the names of assertion methods that we want to expose to examples without exposing non-assertion methods in Test::Unit or Minitest. |
define_assertion_delegators |
SetupAndTeardownAdapter::ClassMethods
- Extended
Instance Attribute Summary
- #routes rw Internal use only Internal use only
- #routes=(routes) rw Internal use only Internal use only
FixtureSupport
- Included
#run_in_transaction? | Monkey patched to avoid collisions with ‘let(:name)’ since |
Instance Method Summary
Matchers::RoutingMatchers::RouteHelpers
- Included
#delete | Shorthand method for matching this type of route. |
#get | Shorthand method for matching this type of route. |
#head | Shorthand method for matching this type of route. |
#options | Shorthand method for matching this type of route. |
#patch | Shorthand method for matching this type of route. |
#post | Shorthand method for matching this type of route. |
#put | Shorthand method for matching this type of route. |
Matchers::RoutingMatchers
- Included
#be_routable | Passes if the route expression is recognized by the |
#route_to | Delegates to |
TaggedLoggingAdapter
- Included
#tagged_logger | Vendored from activesupport/lib/active_support/testing/tagged_logging.rb This implements the tagged_logger method where it is expected, but doesn’t call |
MinitestAssertionAdapter
- Included
MinitestLifecycleAdapter
- Included
SetupAndTeardownAdapter
- Included
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &block) (private)
[ GitHub ]DSL Calls
included
[ GitHub ]Instance Attribute Details
#routes (rw)
# File 'rspec-rails/lib/rspec/rails/example/routing_example_group.rb', line 46
attr_reader :routes