Class: Test::Spec::Rails::Status

Inherits:
SpecResponder show all
Defined in:
lib/test/spec/rails/response_helpers.rb

Instance Attribute Summary

Attributes inherited from SpecResponder

#test_case

Instance Method Summary collapse

Methods inherited from SpecResponder

#initialize

Constructor Details

This class inherits a constructor from Test::Spec::Rails::SpecResponder

Instance Method Details

#should_equal(status, message = nil) ⇒ Object



3
4
5
# File 'lib/test/spec/rails/response_helpers.rb', line 3

def should_equal(status, message=nil)
  @test_case.send(:assert_response, status, message)
end