omniauth-microsoft-office365 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f8df7922a95dde5275261a6cae6d97496ead28e
|
|
4
|
+
data.tar.gz: e233353b824fdd43d36f02434bd1360c67aa1251
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28740eb724a1352f0ca68afc0fe6306b2f92597a89af95ded5124adc96a65410cbfacadde1d010d9280d5ad3c79bf21a3bb5d2c78f3a275f91e9e408e976f6e3
|
|
7
|
+
data.tar.gz: fc5ca10340a70bb7019a66c7082e729b36d164210fe016e5d1d03b8801c0548d42cae19aef1c9162f1ec98567d41f3a38a49c09d862eaa758c9425981880bb05
|
|
@@ -132,7 +132,7 @@ RSpec.describe OmniAuth::Strategies::MicrosoftOffice365 do
|
|
|
132
132
|
end
|
|
133
133
|
|
|
134
134
|
context "when user didn't provide avatar image" do
|
|
135
|
-
let(:avatar_response) { instance_double(OAuth2::Response,
|
|
135
|
+
let(:avatar_response) { instance_double(OAuth2::Response, "error=" => nil, status: 404, parsed: {}, body: '') }
|
|
136
136
|
|
|
137
137
|
before do
|
|
138
138
|
expect(access_token).to receive(:get).with("https://outlook.office.com/api/v2.0/me/photo/$value")
|