From 283c82dfe81f8334198bc8e6ae3f83f585470786 Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Fri, 21 Jul 2017 15:36:59 -0400 Subject: [PATCH] fix downgrade of ClassyHash I should run my unit tests before pushing lol --- spec/sprue_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/sprue_spec.rb b/spec/sprue_spec.rb index 065be8a..377705a 100644 --- a/spec/sprue_spec.rb +++ b/spec/sprue_spec.rb @@ -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( - ClassyHash::SchemaViolationError, + RuntimeError, '"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( - ClassyHash::SchemaViolationError, + RuntimeError, '"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( - ClassyHash::SchemaViolationError, + RuntimeError, '"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( - ClassyHash::SchemaViolationError, + RuntimeError, '"card_height" is not a String matching /^(\d*[.])?\d+(in|cm|mm)$/' ) end