Articles



Zeus and shoulda-matcher

Zeus and shoulda-matcher
If you have any problem with gem shoulda-matcher after installation and start of gem Zeus, do not just roll back the entire development and say goodbye to Zeus. Try...
Show full article

If you have any problem with gem shoulda-matcher after installation and start of gem Zeus, do not just roll back the entire development and say goodbye to Zeus.
Try the following:

In Gemfile:

gem 'shoulda-matchers', require: false

In file spec/rails_helper.rb if presents, or in spec/spec_helper.rb:

require 'rspec/rails'
require 'shoulda/matchers'

It should work. Good luck!

Show preview
Leave a comment