Sha256: 553401a8123c233fd63a59fad969f7aa01172afeef3ded1852268c9a8413d1f8
Contents?: true
Size: 655 Bytes
Versions: 27
Compression:
Stored size: 655 Bytes
Contents
require 'test_helper_dummy' class PostTests < ActiveSupport::TestCase i_suck_and_my_tests_are_order_dependent! $teardown_ran = false setup do @post = user_post end teardown do $teardown_ran = true end should 'setup correctly and $teardown_ran should still be false since this is the first test' do @post.must_be_instance_of Post $teardown_ran.must_equal false end should 'teardown correctly' do $teardown_ran.must_equal true end should_eventually 'will be skipped' do assert false end context 'level 1' do should 'work' do @post.must_be_instance_of Post end end end
Version data entries
27 entries across 27 versions & 2 rubygems