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 8b40d58 commit f3ed36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/physical_instantiation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3ed36c

Please sign in to comment.