fix downgrade of ClassyHash

I should run my unit tests before pushing lol
dev
Andy Meneely 2017-07-21 15:36:59 -04:00
parent 94979eded6
commit 283c82dfe8
1 changed files with 4 additions and 4 deletions

View File

@ -148,7 +148,7 @@ describe Squib::Sprue do
expect do expect do
Squib::Sprue.load(sprue_file('fail_no_sheet_width.yml'), 100) Squib::Sprue.load(sprue_file('fail_no_sheet_width.yml'), 100)
end.to raise_error( end.to raise_error(
ClassyHash::SchemaViolationError, RuntimeError,
'"sheet_width" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/' '"sheet_width" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/'
) )
end end
@ -157,7 +157,7 @@ describe Squib::Sprue do
expect do expect do
Squib::Sprue.load(sprue_file('fail_no_sheet_height.yml'), 100) Squib::Sprue.load(sprue_file('fail_no_sheet_height.yml'), 100)
end.to raise_error( end.to raise_error(
ClassyHash::SchemaViolationError, RuntimeError,
'"sheet_height" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/' '"sheet_height" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/'
) )
end end
@ -166,7 +166,7 @@ describe Squib::Sprue do
expect do expect do
Squib::Sprue.load(sprue_file('fail_no_card_width.yml'), 100) Squib::Sprue.load(sprue_file('fail_no_card_width.yml'), 100)
end.to raise_error( end.to raise_error(
ClassyHash::SchemaViolationError, RuntimeError,
'"card_width" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/' '"card_width" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/'
) )
end end
@ -175,7 +175,7 @@ describe Squib::Sprue do
expect do expect do
Squib::Sprue.load(sprue_file('fail_no_card_height.yml'), 100) Squib::Sprue.load(sprue_file('fail_no_card_height.yml'), 100)
end.to raise_error( end.to raise_error(
ClassyHash::SchemaViolationError, RuntimeError,
'"card_height" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/' '"card_height" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/'
) )
end end