Class: RSpec::Core::Configuration
- Inherits:
-
Object
- Object
- RSpec::Core::Configuration
- Defined in:
- lib/rspec/core/example_group_patch.rb
Overview
Monkey patch rspec to block capybara from using feature
Instance Method Summary collapse
Instance Method Details
#alias_example_group_to(new_name, *args) ⇒ Object
12 13 14 15 16 |
# File 'lib/rspec/core/example_group_patch.rb', line 12 def alias_example_group_to(new_name, *args) return if [:feature, :xfeature, :ffeature].include?(new_name) orig_alias_example_group_to(new_name, *args) end |
#orig_alias_example_group_to ⇒ Object
10 |
# File 'lib/rspec/core/example_group_patch.rb', line 10 alias orig_alias_example_group_to alias_example_group_to |