spec/kitchen/state_file_spec.rb in test-kitchen-1.19.2 vs spec/kitchen/state_file_spec.rb in test-kitchen-1.20.0
- old
+ new
@@ -64,12 +64,10 @@
stub_state_file! <<-'YAML'.gsub(/^ {8}/, "")
--- !ruby/object:YamledState
yoinks: zoinks
YAML
- state_file.read.class.wont_equal YamledState
- state_file.read.class.must_equal Hash
- state_file.read.must_equal(yoinks: "zoinks")
+ proc { state_file.read }.must_raise Kitchen::StateFileLoadError
end
it "raises a StateFileLoadError if the state file cannot be parsed" do
stub_state_file!("&*%^*")