Not able to run rspec with Sequel

375 views Asked by At

I am using "rspec_sequel_matchers" gem and followed the steps mentioned in the documentation. But when i run the rspec it says " uninitialized constant RspecSequel (NameError)". Help much appreciated.

1

There are 1 answers

0
darkstalker_010 On BEST ANSWER

I moved the code:

RSpec.configure do |config|
    config.include RspecSequel::Matchers
    #...other config..
end

from spec_helper.rb to rails_helper.rb

It's working now.