Inspect the underlying value

This is needed because MatchDataValue is now a class instead of a 
struct.
This commit is contained in:
Michael Miller 2019-03-22 11:55:04 -06:00
parent e7e1d0e084
commit c156c55c72

View file

@ -49,7 +49,7 @@ describe Spectator::Expectations::Expectation do
expectation_values = expectation.values
match_data.values.zip(expectation_values).each do |m, e|
m.label.should eq(e.label)
m.value.should eq(e.value)
m.value.value.should eq(e.value.value)
end
end