mno-enterprise-frontend 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d41be70b0d20dc29920c5a7dc9f924863e13a78
|
4
|
+
data.tar.gz: e8d40693404543d731bfcb4c861d039b940efcbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a65d3e1d0247744e3fdbef7a61fb3a92e987a0972cc2c1c0525fbcbb5fd989e4839ccdd17fd6eaa3d65f57e310520eee30421ea14029cb7c57dc78f94ac5a91f
|
7
|
+
data.tar.gz: 03d2e4ef10e9ae073a3d38cc5a5e988f78b697f9e7d6add533ad56e0f43900e739a37eb796a32133141b20d8e8eec5c20f0d7f08e1142a425201830238d84d0f
|
@@ -6,6 +6,10 @@ module MnoEnterprise
|
|
6
6
|
render_views
|
7
7
|
routes { MnoEnterprise::Engine.routes }
|
8
8
|
|
9
|
+
# Freeze time (JWT are time dependent)
|
10
|
+
before { Timecop.freeze }
|
11
|
+
after { Timecop.return }
|
12
|
+
|
9
13
|
# Stub controller ability
|
10
14
|
let!(:ability) { stub_ability }
|
11
15
|
let(:extra_params) { {some: 'param'} }
|
@@ -30,7 +34,7 @@ module MnoEnterprise
|
|
30
34
|
it_behaves_like "a user protected resource"
|
31
35
|
|
32
36
|
it { subject; expect(response).to be_success }
|
33
|
-
it {
|
37
|
+
it { subject; expect(assigns(:redirect_to)).to eq(redirect_url) }
|
34
38
|
|
35
39
|
Webhook::OAuthController::PROVIDERS_WITH_OPTIONS.each do |provider|
|
36
40
|
describe "#{provider.capitalize} provider" do
|
@@ -39,7 +43,7 @@ module MnoEnterprise
|
|
39
43
|
|
40
44
|
context 'with perform=true' do
|
41
45
|
let(:extra_params) { {perform: true} }
|
42
|
-
it {
|
46
|
+
it { subject; expect(assigns(:redirect_to)).to eq(redirect_url) }
|
43
47
|
end
|
44
48
|
end
|
45
49
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mno-enterprise-frontend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Lachaume
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-09-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mno-enterprise-core
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 3.0.
|
20
|
+
version: 3.0.5
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 3.0.
|
27
|
+
version: 3.0.5
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: mno-enterprise-api
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 3.0.
|
34
|
+
version: 3.0.5
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 3.0.
|
41
|
+
version: 3.0.5
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: less-rails
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -339,7 +339,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
339
339
|
version: '0'
|
340
340
|
requirements: []
|
341
341
|
rubyforge_project:
|
342
|
-
rubygems_version: 2.
|
342
|
+
rubygems_version: 2.5.1
|
343
343
|
signing_key:
|
344
344
|
specification_version: 4
|
345
345
|
summary: Maestrano Enterprise - Frontend
|