introduce the value_for method for the content_entry_repository
did
committed Mar 09, 2015
commit af6d69df722d8af24d760f7fb17112bf2b7bb9ef
Showing 1
changed file with
1 additions
and 1 deletions
spec/unit/liquid/drops/content_entry_spec.rb
+1
-1
| @@ | @@ -30,7 +30,7 @@ describe Locomotive::Steam::Liquid::Drops::ContentEntry do |
| describe 'relationship field' do | |
| - | let(:authors) { instance_double('AuthorsRepository', all: ['john', 'jane']) } |
| + | let(:authors) { instance_double(Locomotive::Steam::ContentEntryRepository, all: ['john', 'jane']) } |
| let(:type) { instance_double('Type', fields_by_name: { authors: instance_double('Field', type: :has_many ) }) } | |
| let(:entry) { instance_double('Article', content_type: type, authors: authors) } | |