air18n 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/air18n/version.rb +1 -1
- data/make_gem +1 -1
- data/spec/lib/air18n/phrase_translation_spec.rb +2 -1
- metadata +1 -1
data/lib/air18n/version.rb
CHANGED
data/make_gem
CHANGED
@@ -29,7 +29,8 @@ describe Air18n::PhraseTranslation do
|
|
29
29
|
validated.should == true
|
30
30
|
translation.value = 'too looooong'
|
31
31
|
translation.save.should be_false
|
32
|
-
translation.errors.should
|
32
|
+
translation.errors.should include :value
|
33
|
+
translation.errors[:value].should include "Translation has 12 characters; maximum length 10 characters."
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|