Skip to content

Commit

Permalink
chore: rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HassanAkbar authored and ronaldtse committed Oct 4, 2024
1 parent b6d501d commit f33c54c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/lutaml/model/serializable_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -270,17 +270,17 @@ class GlazeTechnique < Lutaml::Model::Serializable
it "changes the value after creation" do
collection = SerializeableSpec::CeramicCollection.new(
featured_piece: SerializeableSpec::Ceramic.new(type: "Porcelain",
firing_temperature: 1300),
firing_temperature: 1300),
)
collection.featured_piece = SerializeableSpec::Ceramic.new(type: "Stoneware",
firing_temperature: 1200)
firing_temperature: 1200)
expect(collection.featured_piece.type).to eq("Stoneware")
end

it "assigns the value during creation" do
collection = SerializeableSpec::CeramicCollection.new(
featured_piece: SerializeableSpec::Ceramic.new(type: "Earthenware",
firing_temperature: 1000),
firing_temperature: 1000),
)
expect(collection.featured_piece.type).to eq("Earthenware")
end
Expand Down

0 comments on commit f33c54c

Please sign in to comment.