diff --git a/spec/models/physical_instantiation_spec.rb b/spec/models/physical_instantiation_spec.rb index 3e75f741..4f2a9e9a 100644 --- a/spec/models/physical_instantiation_spec.rb +++ b/spec/models/physical_instantiation_spec.rb @@ -68,7 +68,7 @@ context "media_type" do let(:physical_instantiation) { FactoryBot.build(:physical_instantiation) } it "has media_type" do - physical_instantiation.format = "Test media_type" + physical_instantiation.media_type = "Test media_type" expect(physical_instantiation.resource.dump(:ttl)).to match(/terms\/type/) expect(physical_instantiation.media_type.include?("Test media_type")).to be true end