spec/views/curation_concerns/base/edit.html.erb_spec.rb in sufia-7.2.0 vs spec/views/curation_concerns/base/edit.html.erb_spec.rb in sufia-7.3.0.rc1

- old
+ new

@@ -17,10 +17,10 @@ view.controller.action_name = 'edit' stub_template "curation_concerns/base/_form.html.erb" => 'a form' end it "sets a header and draws the form" do - expect(view).to receive(:provide).with(:page_title, 'A nice work // Work [456] // Sufia') + expect(view).to receive(:provide).with(:page_title, 'A nice work // Generic Work [456] // Sufia') expect(view).to receive(:provide).with(:page_header).and_yield render expect(rendered).to eq " <h1>Edit Work</h1>\n\na form\n" end end