Module: HomeRun::Assertions

Includes:
Test::Unit::Assertions
Included in:
HomeRun
Defined in:
app/models/homerun.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#assert_post_conditionsObject


35
36
37
38
# File 'app/models/homerun.rb', line 35

def assert_post_conditions
	assert_include(self.instance_variables, :@id, "self=#{self.inspect}")
	assert_not_nil(@id)
end

#assert_pre_conditionsObject

ClassMethods


33
34
# File 'app/models/homerun.rb', line 33

def assert_pre_conditions
end