awesome_translations 0.0.42 → 0.0.43

Sign up to get free protection for your applications and to get access to all the features.
@@ -85,7 +85,7 @@ describe AwesomeTranslations::Handlers::FileHandler do
85
85
  let(:yes_translation) { translations.find { |translation| translation.key == "yes" } }
86
86
 
87
87
  it "finds the right translations" do
88
- expect(translations.length).to eq 3
88
+ expect(translations.length).to eq 4
89
89
  end
90
90
 
91
91
  it "reads the keys right" do
@@ -96,8 +96,8 @@ describe AwesomeTranslations::Handlers::FileHandler do
96
96
  expect(yes_translation.dir).to eq "#{Rails.root}/config/locales/awesome_translations"
97
97
  end
98
98
 
99
- it "doesn't detect absolute existing direct translations" do
100
- expect(translations.map(&:key)).to_not include "activerecord.attributes.users.email"
99
+ it "detects absolute existing direct translations" do
100
+ expect(translations.map(&:key)).to include "activerecord.attributes.users.email"
101
101
  end
102
102
  end
103
103
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesome_translations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.42
4
+ version: 0.0.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Johansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-23 00:00:00.000000000 Z
11
+ date: 2017-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: array_enumerator