spec/g11n/translator_spec.rb in g11n-0.0.3 vs spec/g11n/translator_spec.rb in g11n-0.0.4
- old
+ new
@@ -60,9 +60,15 @@
end
G11n::Translator.instance.test_me
end
end
+ describe "#translations_path" do
+ it "should return the translations path" do
+ G11n::Translator.instance.translations_path.should == "translations/"
+ end
+ end
+
describe "#dictionary_for" do
context "there is in fact a dictionary for the locale" do
before do
Fast.file.write "translations/en.yaml", { :hello => "Text", :nested => { :is => "good" } }.to_yaml
end