spec/missed_default_spec.rb in dry-initializer-1.1.0 vs spec/missed_default_spec.rb in dry-initializer-1.1.1
- old
+ new
@@ -7,8 +7,8 @@
param :bar, required: true
end
end
it "raises SyntaxError" do
- expect { subject }.to raise_error SyntaxError, /bar/
+ expect { subject }.to raise_error RuntimeError, /bar/
end
end