diff --git a/spec/models/digital_instantiation_spec.rb b/spec/models/digital_instantiation_spec.rb index 43378f84..5c030fe8 100644 --- a/spec/models/digital_instantiation_spec.rb +++ b/spec/models/digital_instantiation_spec.rb @@ -59,7 +59,7 @@ context "media_type" do let(:digital_instantiation) { FactoryBot.build(:digital_instantiation) } it "has media_type" do - digital_instantiation.format = "Test media_type" + digital_instantiation.media_type = "Test media_type" expect(digital_instantiation.resource.dump(:ttl)).to match(/terms\/type/) expect(digital_instantiation.media_type.include?("Test media_type")).to be true end