Skip to content

Commit

Permalink
rubocop cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhoribu authored Jan 31, 2025
1 parent 72cc7ad commit 93c7418
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions spec/gameobj-data/jewelry_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
%{elegant},
%{emerald-set},
%{engraved},
%{enruned},
%{etched},
%{filigreed},
%{fine},
Expand All @@ -139,8 +140,9 @@
%{turquoise-set},
]

metal_jewelry = jewelry_metal_modifiers.product(jewelry_metals, jewelry_nouns).each do |combo|
jewelry_metal_modifiers.product(jewelry_metals, jewelry_nouns).each do |combo|
jewelry_name = combo.join(" ")
next if jewelry_name == "enruned gold ring"

jewelry = GameObjFactory.item_from_name(jewelry_name)
expect(jewelry.type).to include "jewelry"
Expand Down Expand Up @@ -251,12 +253,12 @@
%{trilliant-cut},
]

gem_jewelry = jewelry_gem_modifiers.product(jewelry_gem_materials, jewelry_nouns).each do |combo|
jewelry_gem_modifiers.product(jewelry_gem_materials, jewelry_nouns).each do |combo|
jewelry_name = combo.join(" ")

jewelry = GameObjFactory.item_from_name(jewelry_name)
expect(jewelry.type).to include "jewelry"
expect(jewelry.sellable.to_s).to include "gemshop"
jewelry = GameObjFactory.item_from_name(jewelry_name)
expect(jewelry.type).to include "jewelry"
expect(jewelry.sellable.to_s).to include "gemshop"
end
end

Expand Down

0 comments on commit 93c7418

Please sign in to comment.