spec/features/datastreams/show.html.erb_spec.rb in fcrepo_admin-0.3.5 vs spec/features/datastreams/show.html.erb_spec.rb in fcrepo_admin-0.4.0
- old
+ new
@@ -3,10 +3,10 @@
RSpec.configure do |c|
Warden.test_mode!
end
describe "datastreams/show.html.erb" do
- let!(:object) { FactoryGirl.create(:content_model) }
+ let!(:object) { FactoryGirl.create(:item) }
let(:dsid) { "descMetadata" }
before { visit fcrepo_admin.object_datastream_path(object, dsid) }
after { object.delete }
it "should display all attributes of the datastream profile" do
object.datastreams[dsid].profile.each do |key, value|