test/unit/beanstalk_test.rb in vigetlabs-provisional-2.1.6 vs test/unit/beanstalk_test.rb in vigetlabs-provisional-2.1.7
- old
+ new
@@ -9,10 +9,10 @@
def test_init
Beanstalk::Repository.expects(:create)
@scm.init
end
- def test_init_should_raise_RuntimeError_if_any_step_raises_any_exception
+ def test_init_should_fail_if_any_step_raises_any_exception
Beanstalk::Repository.expects(:create).raises(Errno::ECONNREFUSED)
assert_raise RuntimeError do
@scm.init
end
end