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

deprecate Onceler.configure #7

Open
jenseng opened this issue Jul 26, 2017 · 0 comments
Open

deprecate Onceler.configure #7

jenseng opened this issue Jul 26, 2017 · 0 comments

Comments

@jenseng
Copy link
Contributor

jenseng commented Jul 26, 2017

Instead of doing:

RSpec.configure do |config|
  config.include Onceler::BasicHelpers
end

Onceler.configure do |config|
  config.before :record do
    # reset some caching to ensure all recordings get a blank slate
  end
end

You should be able to do:

RSpec.configure do |config|
  config.include Onceler::BasicHelpers

  config.before :record do
    # reset some caching to ensure all recordings get a blank slate
  end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant