Skip to content

Correct Deprecation Errors in CI#65

Merged
gmacdougall merged 2 commits into
solidusio:masterfrom
stewart:fix/deprecations
Jul 12, 2016
Merged

Correct Deprecation Errors in CI#65
gmacdougall merged 2 commits into
solidusio:masterfrom
stewart:fix/deprecations

Conversation

@stewart

@stewart stewart commented Jul 11, 2016

Copy link
Copy Markdown
Contributor

Corrects a few deprecation warnings between Solidus and Devise that were causing test troubles.

stewart added 2 commits July 11, 2016 14:21
The usage of `Spree::Store.current` was causing a deprecation warning in
CI, due to upstream changes:

solidusio/solidus#1239.

Replacing this with `Spree::Store.default` replaces the behaviour, and
is more correct.
Example deprecation warning:

  DEPRECATION WARNING: [Devise] including `Devise::TestHelpers` is deprecated and will be removed from Devise.
  For controller tests, please include `Devise::Test::ControllerHelpers` instead.
  (called from <top (required)> at /home/andrew/dev/solidus_auth_devise/spec/controllers/spree/checkout_controller_spec.rb:1)
@bbuchalter

Copy link
Copy Markdown
Contributor

This seems reasonable to me. 👍

@gmacdougall

Copy link
Copy Markdown
Member

👍

@gmacdougall gmacdougall merged commit 529b641 into solidusio:master Jul 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants