spree_core 2.4.4 → 2.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spree/core/version.rb +1 -1
- data/lib/spree/testing_support/authorization_helpers.rb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87fb0ca165c108a20ebe59aac875f51993d7893e
|
4
|
+
data.tar.gz: e3d57525e215f995bcd5461e7882b1948b2c2f10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3a6480f68ab69613d6ee3db64bee5b02d5a1b3bbc7a989c083a5dd1b2f2ffa13508ce33267c17a9e58d964dfcba2887af127ee713c5e1e3704cdd4e4ad053c8
|
7
|
+
data.tar.gz: dfebb91aa974e2a86fb4b7f78202740fcc726eb8e997a4d98efd0fce012f9083e936e80c6eb980a8774b5ddd8e1feee5426ba07ae72422d0e585b1f76f863c1f
|
data/lib/spree/core/version.rb
CHANGED
@@ -37,7 +37,9 @@ module Spree
|
|
37
37
|
end
|
38
38
|
|
39
39
|
before do
|
40
|
-
|
40
|
+
allow(Spree.user_class).to receive(:find_by).
|
41
|
+
with(hash_including(:spree_api_key)).
|
42
|
+
and_return(Spree.user_class.new)
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -56,6 +58,6 @@ module Spree
|
|
56
58
|
end
|
57
59
|
|
58
60
|
RSpec.configure do |config|
|
59
|
-
config.extend Spree::TestingSupport::AuthorizationHelpers::Controller, :
|
60
|
-
config.extend Spree::TestingSupport::AuthorizationHelpers::Request, :
|
61
|
+
config.extend Spree::TestingSupport::AuthorizationHelpers::Controller, type: :controller
|
62
|
+
config.extend Spree::TestingSupport::AuthorizationHelpers::Request, type: :feature
|
61
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|