spec/models/europeana/blacklight/document_spec.rb in europeana-blacklight-1.0.0 vs spec/models/europeana/blacklight/document_spec.rb in europeana-blacklight-1.1.0
- old
+ new
@@ -183,11 +183,11 @@
context 'with key "def"' do
before do
::I18n.locale = :fr
::I18n.default_locale = :es
end
- it 'returns default locale value' do
- expect(subject.fetch('proxies.dcType')).to eq(['Image'])
+ it 'returns all values' do
+ expect(subject.fetch('proxies.dcType')).to eq(%w(Image Picture))
end
end
context 'without current locale or "def" keys' do
before do
::I18n.locale = :es