spec/g11n/translator_spec.rb in g11n-0.0.2 vs spec/g11n/translator_spec.rb in g11n-0.0.3
- old
+ new
@@ -41,9 +41,15 @@
end
G11n::Translator.instance.test_me
end
end
end
+
+ describe "#locale" do
+ it "should return the locale" do
+ G11n::Translator.instance.locale.should == :en
+ end
+ end
describe "#translations_path=" do
it "sets the translations path" do
G11n::Translator.instance.translations_path = "other_path"
class << G11n::Translator.instance