NoMethodError Exception: undefined method `use_transactional_fixtures with cucumber selenium
I have an error when I wrote
RSpec.configure do |c|
c.use_transactional_fixtures = true
c.include Capybara::DSL
end
Exception NoMethodError: undefined method `use_transactional_fixtures
+3
vijay chouhan
source
to share
2 answers
You should write this code in rspec.rb file
+2
user2088247
source
to share
You may not have installed
gem 'rspec-rails'
or perhaps you didn't need it for its characteristics like
require 'rspec/rails'
use_transaction_fixtures is part of the rspec-rails gem here:
https://github.com/rspec/rspec-rails/blob/master/lib/rspec/rails/fixture_support.rb#L31
Hope this helps you
respectfully
ED
+3
chischaschos
source
to share