spec/g11n/translator_spec.rb in g11n-0.0.1 vs spec/g11n/translator_spec.rb in g11n-0.0.2

- old
+ new

@@ -1,8 +1,9 @@ require "g11n" require "fast/fast" require "pry" +require "yaml" def low_level_deconfigurate! Fast.dir.delete! :translations class << G11n::Translator.instance @@ -59,12 +60,12 @@ 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 - it "should return the G11n::Dictionary object with the information from the YAML file" do + it "should return the SymbolMatrix object with the information from the YAML file" do dictionary = G11n::Translator.instance.dictionary_for :en - dictionary.should be_a G11n::Dictionary + dictionary.should be_a SymbolMatrix dictionary.should have_key :hello end end end