You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like Rspec doesn't know about PublicActivity when it is called from spec_helper.rb but it seems to work when it's required and called from within rails_helper.rb
# PublicActivity off
require 'public_activity/testing'
PublicActivity.enabled = false
The text was updated successfully, but these errors were encountered:
PublicActivity doesn't load itself in test environments (as with every other gem). It's programmer's responsibility to require it, usually this is taken care of by Bundler.
Looks like Rspec doesn't know about PublicActivity when it is called from
spec_helper.rb
but it seems to work when it's required and called from withinrails_helper.rb
The text was updated successfully, but these errors were encountered: