Skip to content

Instantly share code, notes, and snippets.

@JonRowe
Last active December 16, 2015 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JonRowe/5368859 to your computer and use it in GitHub Desktop.
Save JonRowe/5368859 to your computer and use it in GitHub Desktop.
Ancestry of `let` definitions in `rspec-core` vs `rspec-rails`
RSpec::Core::ExampleGroup::Nested_1::Nested_1
RSpec::Core::ExampleGroup::Nested_1
>> **RSpec::Core::ExampleGroup::Nested_1::LetDefinitions** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
RSpec::Core::ExampleGroup::Nested_1::NamedSubjectPreventSuper
>> **RequestHelpers** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
RSpec::Core::ExampleGroup
RSpec::Matchers
RSpec::Core::MockFrameworkAdapter
RSpec::Core::SharedExampleGroup
RSpec::Core::Pending
RSpec::Core::Extensions::InstanceEvalWithArgs
>> **RSpec::Core::ExampleGroup::LetDefinitions** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
RSpec::Core::ExampleGroup::NamedSubjectPreventSuper
RSpec::Core::MemoizedHelpers
Object
PP::ObjectMixin
Kernel
BasicObject
RSpec::Mocks::Methods
RSpec::Core::ExampleGroup::Nested_1::Nested_1
RSpec::Core::ExampleGroup::Nested_1
>> **RequestHelper** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Capybara::RSpecMatchers
Capybara::DSL
>> **RSpec::Core::ExampleGroup::Nested_1::LetDefinitions** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
RSpec::Core::ExampleGroup::Nested_1::NamedSubjectPreventSuper
RSpec::Rails::ControllerExampleGroup
#<RSpec::Rails::AssertionDelegator:0x007fba38fb4920>
RSpec::Rails::Matchers::RoutingMatchers
RSpec::Rails::Matchers::RenderTemplate
RSpec::Rails::Matchers::RedirectTo
RSpec::Rails::ViewRendering
ActionDispatch::Assertions
ActionDispatch::Assertions::TagAssertions
ActionDispatch::Assertions::SelectorAssertions
ActionDispatch::Assertions::RoutingAssertions
ActionDispatch::Assertions::DomAssertions
ActionDispatch::Assertions::ResponseAssertions
ActionController::TemplateAssertions
ActionController::TestCase::Behavior
ActionDispatch::TestProcess
RSpec::Rails::RailsExampleGroup
RSpec::Rails::Matchers
RSpec::Rails::Mocks
RSpec::Rails::FixtureSupport
ActiveRecord::TestFixtures
RSpec::Rails::TestUnitAssertionAdapter
RSpec::Rails::SetupAndTeardownAdapter
RSpec::Core::ExampleGroup
RSpec::Matchers
RSpec::Core::MockFrameworkAdapter
RSpec::Core::SharedExampleGroup
RSpec::Core::Pending
RSpec::Core::Extensions::InstanceEvalWithArgs
>> **RSpec::Core::ExampleGroup::LetDefinitions** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
RSpec::Core::ExampleGroup::NamedSubjectPreventSuper
RSpec::Core::MemoizedHelpers
Object
JSON::Ext::Generator::GeneratorMethods::Object
ActiveSupport::Dependencies::Loadable
PP::ObjectMixin
Kernel
BasicObject
RSpec::Mocks::Methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment