test/cap_util_tests.rb in cap-util-0.4.0 vs test/cap_util_tests.rb in cap-util-1.0.0.rc1
- old
+ new
@@ -16,12 +16,12 @@
end
class HaltTests < CapUtilTests
desc "`halt` util methods"
- should "raise a `DeployHalted` custom exception" do
- assert_raises(CapUtil::DeployHalted) { subject.halt }
+ should "raise a `Halted` custom exception" do
+ assert_raises(CapUtil::Halted) { subject.halt }
end
end
class CapUtilMixinTests < Assert::Context
desc "the CapUtil mixin"
@@ -47,13 +47,13 @@
should have_imeths :get, :hostname
end
- class DeployHaltedTests < Assert::Context
- desc "the CapUtility DeployHalted custome exception"
+ class HaltedTests < Assert::Context
+ desc "the CapUtil Halted custom exception"
setup do
- @err = CapUtil::DeployHalted.new
+ @err = CapUtil::Halted.new
end
subject { @err }
should "be a `RuntimeError`" do
assert_kind_of RuntimeError, subject