Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable observers in rspec #315

Closed
ldlsegovia opened this issue Sep 9, 2020 · 1 comment
Closed

Disable observers in rspec #315

ldlsegovia opened this issue Sep 9, 2020 · 1 comment
Assignees

Comments

@ldlsegovia
Copy link
Collaborator

Add this line PowerTypes::Observable.observable_disabled = true to rails_helper.rb.
We don't want to execute observers while testing our models.

@difernandez
Copy link
Contributor

Forgot to mark it, closed by #319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants