spec/features/datastreams/show.html.erb_spec.rb in fcrepo_admin-0.3.1 vs spec/features/datastreams/show.html.erb_spec.rb in fcrepo_admin-0.3.2

- old
+ new

@@ -15,10 +15,10 @@ page.should have_content(I18n.t("fcrepo_admin.datastream.profile.#{key}")) page.should have_content(value) end end it "should have a link to download the datastream content" do - page.should have_link(I18n.t("fcrepo_admin.datastream.download"), :href => "#{fcrepo_admin.object_datastream_path(object, dsid)}?download=true") + page.should have_link(I18n.t("fcrepo_admin.datastream.download"), :href => fcrepo_admin.download_object_datastream_path(object, dsid)) end context "user can edit" do let(:user) { FactoryGirl.create(:user) } before do object.permissions = [{type: 'user', name: user.email, access: 'edit'}]