spec/views/curation_concerns/base/edit.html.erb_spec.rb in sufia-7.0.0.beta3 vs spec/views/curation_concerns/base/edit.html.erb_spec.rb in sufia-7.0.0.beta4
- old
+ new
@@ -1,7 +1,7 @@
require 'spec_helper'
-describe 'curation_concerns/base/edit.html.erb' do
+describe 'curation_concerns/base/edit.html.erb', type: :view do
let(:work) { stub_model(GenericWork, id: '456', title: ["A nice work"]) }
let(:ability) { double }
let(:form) do
CurationConcerns::GenericWorkForm.new(work, ability)