mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add Shoulda Matchers 3 configuration
From version 3.0.0 it is needed to specfied which test framework you're using and which portion of the matchers you want to use in `rails_helper.rb` (or the old `spec_helper.rb` in our case).
This commit is contained in:
parent
10ba4283fb
commit
d7dd85bcc0
1 changed files with 7 additions and 0 deletions
|
|
@ -122,3 +122,10 @@ RSpec.configure do |config|
|
|||
end
|
||||
|
||||
OmniAuth.config.test_mode = true
|
||||
|
||||
Shoulda::Matchers.configure do |config|
|
||||
config.integrate do |with|
|
||||
with.test_framework :rspec
|
||||
with.library :rails
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue