Module: Solargraph::Rspec
- Defined in:
- lib/solargraph-rspec.rb,
lib/solargraph/rspec/config.rb,
lib/solargraph/rspec/walker.rb,
lib/solargraph/rspec/version.rb,
lib/solargraph/rspec/convention.rb,
lib/solargraph/rspec/pin_factory.rb,
lib/solargraph/rspec/spec_walker.rb,
lib/solargraph/rspec/test_helpers.rb,
lib/solargraph/rspec/correctors/base.rb,
lib/solargraph/rspec/spec_walker/node_types.rb,
lib/solargraph/rspec/spec_walker/fake_let_method.rb,
lib/solargraph/rspec/spec_walker/full_constant_name.rb,
lib/solargraph/rspec/correctors/dsl_methods_corrector.rb,
lib/solargraph/rspec/correctors/let_methods_corrector.rb,
lib/solargraph/rspec/correctors/subject_method_corrector.rb,
lib/solargraph/rspec/spec_walker/rspec_context_namespace.rb,
lib/solargraph/rspec/correctors/described_class_corrector.rb,
lib/solargraph/rspec/correctors/context_block_methods_corrector.rb,
lib/solargraph/rspec/correctors/context_block_namespace_corrector.rb,
lib/solargraph/rspec/correctors/example_and_hook_blocks_binding_corrector.rb
Defined Under Namespace
Modules: Correctors, PinFactory Classes: Config, Convention, NodeParser, SpecWalker, TestHelpers, Walker
Constant Summary collapse
- VERSION =
'0.4.0'
- ROOT_NAMESPACE =
'RSpec::ExampleGroups'
- HOOK_METHODS =
%w[before after around].freeze
- LET_METHODS =
%w[let let!].freeze
- SUBJECT_METHODS =
%w[subject subject!].freeze
- EXAMPLE_METHODS =
%w[ example it specify focus fexample fit fspecify xexample xit xspecify skip pending ].freeze
- CONTEXT_METHODS =
%w[ example_group describe context xdescribe xcontext fdescribe fcontext shared_examples include_examples it_behaves_like it_should_behave_like shared_context include_context ].freeze
- CORRECTOR_CLASSES =
[ Correctors::ContextBlockMethodsCorrector, Correctors::ContextBlockNamespaceCorrector, Correctors::DescribedClassCorrector, Correctors::DslMethodsCorrector, Correctors::ExampleAndHookBlocksBindingCorrector, Correctors::LetMethodsCorrector, Correctors::SubjectMethodCorrector ].freeze