Module: Test::Spec::ExpectationExt

Defined in:
lib/test/spec/rails/test_spec_ext.rb

Instance Method Summary collapse

Instance Method Details

#test_caseObject

Returns the current test case instance. Use this to call assert methods on.



29
30
31
# File 'lib/test/spec/rails/test_spec_ext.rb', line 29

def test_case
  $TEST_SPEC_TESTCASE
end