Sha256: aca6cc8cd337fb5aa12105ab3d7c26a5e287566bddc119f3a1125dabb6979a1d
Contents?: true
Size: 536 Bytes
Versions: 8
Compression:
Stored size: 536 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' do @post.must_be_instance_of Post 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
8 entries across 8 versions & 1 rubygems