eac_rails_base0 0.38.0 → 0.38.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a640112c919c9a6822fe216b409ccca154016ea899670b9650a9a5ba7df5154
|
4
|
+
data.tar.gz: 51fab398c2c39c8f647ec08eec774840eb8fbee3654aef9d2e3caa314f2d3008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e294db00be3e9c80991d6ac1615b3505dfdc0746b3d23bba19eef9d08f6af06d2bb99b01f4c20744c946644f2dc327bb5a38d7ae9201cac2e09d8d9b620141bb
|
7
|
+
data.tar.gz: 40415fdbf162a74aec5493e1afa7a1dc1d0a2bb1905b8b981dae16bd7c58b5e00e19d6a6029daea8a83ae10a5dcffaa29c636b34d02a037c9aedf4cdb6015c28
|
@@ -23,9 +23,11 @@ RSpec.shared_context 'when user is admin', shared_context: :metadata do
|
|
23
23
|
|
24
24
|
before do
|
25
25
|
visit '/users/sign_in'
|
26
|
-
fill_in '
|
27
|
-
|
28
|
-
|
26
|
+
fill_in ::I18n.translate!('activerecord.attributes.eac_users_support/user.email'),
|
27
|
+
with: user.email
|
28
|
+
fill_in ::I18n.translate!('activerecord.attributes.eac_users_support/user.password'),
|
29
|
+
with: user.password
|
30
|
+
click_button ::I18n.translate!('devise.log_in')
|
29
31
|
end
|
30
32
|
|
31
33
|
it 'user should be logged' do
|
@@ -37,9 +39,9 @@ end
|
|
37
39
|
RSpec.shared_context 'when user is anonymous', shared_context: :metadata do
|
38
40
|
before do
|
39
41
|
visit '/'
|
40
|
-
if link_exist?('
|
41
|
-
click_link('
|
42
|
-
elsif !link_exist?('
|
42
|
+
if link_exist?(::I18n.translate!('devise.log_out'))
|
43
|
+
click_link(::I18n.translate!('devise.log_out'))
|
44
|
+
elsif !link_exist?(::I18n.translate!('devise.log_in'))
|
43
45
|
raise 'login nor logout link found'
|
44
46
|
end
|
45
47
|
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.38.
|
4
|
+
version: 0.38.1
|
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: 2020-07-
|
11
|
+
date: 2020-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha
|
@@ -621,8 +621,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
621
621
|
- !ruby/object:Gem::Version
|
622
622
|
version: '0'
|
623
623
|
requirements: []
|
624
|
-
|
625
|
-
rubygems_version: 2.7.7
|
624
|
+
rubygems_version: 3.0.6
|
626
625
|
signing_key:
|
627
626
|
specification_version: 4
|
628
627
|
summary: A Rails base for multiple Rails projects developed by Esquilo Azul Company.
|