eac_rails_base0 0.19.0 → 0.20.0

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
  SHA256:
3
- metadata.gz: 98df707f32e469861be6b188af441c4754fcdbe51764705596513eaa35ea3f3c
4
- data.tar.gz: edb2625a7850b19ea5aaf500b397f12fb8151ba39cbad7c0f213bbb0ea91c355
3
+ metadata.gz: 5b60d0a20bb69d3f10241e2ae1d4053157f8251a813a7eb35f0f31051c09f1b2
4
+ data.tar.gz: 4bd8adcd1e6f0684e918fff1b9d4cc63133e907ec7355e6da0bf1f681cbe6d4f
5
5
  SHA512:
6
- metadata.gz: fbbd242ab0c9b265dd5c1d6c52706fe6111b46e882596ed692e8a960d6ab22335fab5782ba428a6dd9fcfab1a3e6d8830c97600e1af6e9fcfc0534774f9c8c20
7
- data.tar.gz: f70b64340b17c236bbc2f516c2e1e2ddc7051145a4e3acf181d8dbc724f20575325678e2f9fafd583c80c6cdd49d4a6431adda07bd1bb56d173243a7c90c5b11
6
+ metadata.gz: 6dace8b02ff4394a1e90461fc24f70b5cca0f12142ae436cb3735997c3d43423a2711fee4e42e5908410ea3590131be059c1dc23aa8fab1477ecfa6cb6f78608
7
+ data.tar.gz: 8b4b6483f97ab0ef4a61d55217acff585aa42099ba5c3b3914f306a06e5e857ac50890f45896bd66b5c7265af0825e5e59142c4c40547f09525819d9887ad88c
@@ -32,3 +32,13 @@ RSpec.shared_context 'when user is admin', shared_context: :metadata do
32
32
  expect(::EacUsersSupport::User.current_user).not_to be_nil
33
33
  end
34
34
  end
35
+
36
+ RSpec.shared_context 'when user is anonymous', shared_context: :metadata do
37
+ before do
38
+ click_link('Sair') if ::EacUsersSupport::User.current_user.present?
39
+ end
40
+
41
+ it 'user should be not logged' do
42
+ expect(::EacUsersSupport::User.current_user).to be_nil
43
+ end
44
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsBase0
4
- VERSION = '0.19.0'
4
+ VERSION = '0.20.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_rails_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-02 00:00:00.000000000 Z
11
+ date: 2019-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha
@@ -78,14 +78,14 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '0.1'
81
+ version: '0.2'
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '0.1'
88
+ version: '0.2'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: capybara
91
91
  requirement: !ruby/object:Gem::Requirement