spec/views/krikri/providers/index.html.erb_spec.rb in krikri-0.7.2 vs spec/views/krikri/providers/index.html.erb_spec.rb in krikri-0.7.3
- old
+ new
@@ -6,13 +6,13 @@
link_texts = providers.map { |p| "#{p.id}_LINK" }
allow(view).to receive(:link_to).and_return(*link_texts)
end
let(:providers) do
- [build(:krikri_provider, rdf_subject: 123),
+ [build(:krikri_provider, rdf_subject: '123'),
build(:krikri_provider,
rdf_subject: 'TooTickyLibrary',
- label: 'Too-Ticky')]
+ name: 'Too-Ticky')]
end
it 'renders each provider' do
render
providers.each do |provider|