Class: Test::Unit::TestCase
- Inherits:
-
Object
- Object
- Test::Unit::TestCase
- Includes:
- Rack::Test::Methods
- Defined in:
- lib/resque/server/test_helper.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.should_respond_with_success ⇒ Object
12 13 14 15 16 |
# File 'lib/resque/server/test_helper.rb', line 12 def self.should_respond_with_success test "should respond with success" do assert last_response.ok?, last_response.errors end end |