mno-enterprise-frontend 3.1.1 → 3.1.2
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: c431f00bac017bc5e0b43317f904229d23b8d7d7
|
4
|
+
data.tar.gz: 1fe0b7a0dfd183986278255ebb1fea9d8f024638
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 798d19046e33fa67064f10eff98a6c07e9bf60bdac4c5f889cc6e26d101903cd11af272276143aa77a3c9f76639ac596de661384ef8c0f883b54e54d7544ccf4
|
7
|
+
data.tar.gz: 55c2fcde88d9122e1f407aea4cfddaf8558100ed37de6cee8b434494eef484582f900381e90af224b3f2defcd1fcd8617fecab3ce12f396b92720a4715fddb44
|
@@ -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.1.
|
4
|
+
version: 3.1.2
|
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.1.
|
20
|
+
version: 3.1.2
|
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.1.
|
27
|
+
version: 3.1.2
|
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.1.
|
34
|
+
version: 3.1.2
|
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.1.
|
41
|
+
version: 3.1.2
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: less-rails
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -340,7 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
340
340
|
version: '0'
|
341
341
|
requirements: []
|
342
342
|
rubyforge_project:
|
343
|
-
rubygems_version: 2.
|
343
|
+
rubygems_version: 2.5.1
|
344
344
|
signing_key:
|
345
345
|
specification_version: 4
|
346
346
|
summary: Maestrano Enterprise - Frontend
|