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

πŸ‘‹ NoMethodError: undefined method `jquery_already_included=' for MagicTest:Module #23

Open
andrewculver opened this issue Mar 2, 2021 · 1 comment
Labels

Comments

@andrewculver
Copy link
Contributor

We broke this (intentionally) in 0.0.5. You need to remove config/initializers/magic_test.rb from your project. Sorry for the inconvenience, but we need to be able to do stuff like this in the early days. πŸ™‡πŸ»β€β™‚οΈ Keep an eye on the releases page for this sort of thing.

@andrewculver andrewculver added wontfix This will not be worked on upgrades and removed wontfix This will not be worked on labels Mar 2, 2021
@tleish
Copy link
Contributor

tleish commented Mar 5, 2021

If this is causing issues, we could put the method back with a deprecation notice:

module MagicTest
  class Error < StandardError; end

+  def jquery_already_included=(_)
+    warn "[DEPRECATION] `jquery_already_included` is deprecated and no longer needed.
+  end

  def self.setup
    yield self
  end
end

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

No branches or pull requests

2 participants