It seems that RSpec is not defined on the initial declaration of the configuration item:
module SimpleBdd
class StepNotImplemented < StandardError; end
RSpec.configuration.add_setting(:raise_error_on_missing_step_implementation,
default: false) if defined?(::RSpec)
Which leads to this issue:
1) Commenting through the activity page commenting on news comment activity
Failure/Error: When "I add a comment"
NoMethodError:
undefined method `raise_error_on_missing_step_implementation?' for #<RSpec::Core::Configuration:0x007f9ed4cfac90>
I'm not sure if this is an issue with my local setup or what. Potentially, RSpec could be required in simple_bdd/rspec
require 'rspec' # <============
require 'simple_bdd'
RSpec.configure do |config|
config.include SimpleBdd
end
It seems that RSpec is not defined on the initial declaration of the configuration item:
Which leads to this issue:
I'm not sure if this is an issue with my local setup or what. Potentially, RSpec could be required in
simple_bdd/rspec