spec/lib/liquid/backend_spec.rb in puffer_pages-0.5.0 vs spec/lib/liquid/backend_spec.rb in puffer_pages-0.5.1

- old
+ new

@@ -15,6 +15,18 @@ specify do contextualize(page_translations: translations) do backend.translate(:en, 'hello') end.should == 'PufferPages world' end + + context 'backend installation' do + context 'fallbacks' do + specify do + contextualize(page_translations: translations) do + I18n.with_locale :ru do + I18n.translate('hello') + end + end.should == 'PufferPages world' + end + end + end end