Class: MiniTest::Unit::TestCase
- Inherits:
-
Object
- Object
- MiniTest::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 it "should respond with success" do assert last_response.ok?, last_response.errors end end |