Skip to content

Commit

Permalink
had .format where I needed .media_type
Browse files Browse the repository at this point in the history
  • Loading branch information
ekemeyer authored Jan 3, 2025
1 parent f451ee2 commit 8b40d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/digital_instantiation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b40d58

Please sign in to comment.