Sha256: 7782ac9c60bc149de59069f9d825f176f1612b595df51aecba135297997ad282
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 Bytes
Contents
$: << 'lib' require 'a' class MyTestCase < A def setup @user = { :some => :object } end def test_user_has_property a @user[:some] == :object a !@user[:other] end def teardown @user = nil end end class MyOtherTestCase < A def setup @foo = [1,2,3] end def test_user_has_property a @foo.length == 3 a @foo[2] > 934 # Should fail at line 27 @foo[1] = 99 a @foo[1] != 2 end def teardown @bar = :something end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
a-gem-0.0.2 | examples/my_test.rb |
a-gem-0.0.1 | examples/my_test.rb |