spec/features/datastreams/upload.html.erb_spec.rb in fcrepo_admin-0.4.1 vs spec/features/datastreams/upload.html.erb_spec.rb in fcrepo_admin-0.5.0
- old
+ new
@@ -18,10 +18,10 @@
object.delete
Warden.test_reset!
end
it "should provide an upload form" do
attach_file "file", File.join(Rails.root, "spec", "fixtures", "files", "descMetadata.xml")
- click_button I18n.t("fcrepo_admin.datastream.upload.submit")
+ click_button I18n.t("fcrepo_admin.datastream.upload.form.submit")
object.reload
object.title.should == "Altered Test Component"
end
end