sprues: upgrade to classy_hash 0.2.0

This commit is contained in:
Andy Meneely
2017-07-17 14:58:45 -04:00
parent 0d076b1e85
commit 391193812d
4 changed files with 57 additions and 54 deletions
+4 -4
View File
@@ -148,7 +148,7 @@ describe Squib::Sprue do
expect do
Squib::Sprue.load(sprue_file('fail_no_sheet_width.yml'), 100)
end.to raise_error(
RuntimeError,
ClassyHash::SchemaViolationError,
'"sheet_width" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/'
)
end
@@ -157,7 +157,7 @@ describe Squib::Sprue do
expect do
Squib::Sprue.load(sprue_file('fail_no_sheet_height.yml'), 100)
end.to raise_error(
RuntimeError,
ClassyHash::SchemaViolationError,
'"sheet_height" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/'
)
end
@@ -166,7 +166,7 @@ describe Squib::Sprue do
expect do
Squib::Sprue.load(sprue_file('fail_no_card_width.yml'), 100)
end.to raise_error(
RuntimeError,
ClassyHash::SchemaViolationError,
'"card_width" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/'
)
end
@@ -175,7 +175,7 @@ describe Squib::Sprue do
expect do
Squib::Sprue.load(sprue_file('fail_no_card_height.yml'), 100)
end.to raise_error(
RuntimeError,
ClassyHash::SchemaViolationError,
'"card_height" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/'
)
end