spec/unit/interface/action_manager_spec.rb in puppet-2.7.18 vs spec/unit/interface/action_manager_spec.rb in puppet-2.7.19

- old
+ new

@@ -257,10 +257,10 @@ subject.action(:foo) { when_invoked do |options| true end; default } expect { subject.action(:bar) { when_invoked do |options| true end default } - }.should raise_error /cannot both be default/ + }.to raise_error /cannot both be default/ end end describe "#get_action" do let :parent_class do