We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 149a5b3 commit 7de1d36Copy full SHA for 7de1d36
lib/rspec/rails/configuration.rb
@@ -67,7 +67,7 @@ def self.initialize_configuration(config) # rubocop:disable Metrics/MethodLength
67
config.add_setting :use_transactional_fixtures, alias_with: :use_transactional_examples
68
config.add_setting :use_instantiated_fixtures
69
config.add_setting :global_fixtures
70
- (class << config; self; end).class_exec { attr_accessor :fixture_path }
+ config.singleton_class.class_exec { attr_accessor :fixture_path }
71
72
config.include RSpec::Rails::FixtureSupport, :use_fixtures
73
0 commit comments