Module: GenericJsons::Assertions::ClassMethods

Includes:
Test::Unit::Assertions
Included in:
GenericJsons, OpenTaxFormFiller::Definitions
Defined in:
app/models/generic_file.rb

Instance Method Summary collapse

Instance Method Details

#assert_json_string(acquisition) ⇒ Object


98
99
100
101
102
103
# File 'app/models/generic_file.rb', line 98

def assert_json_string(acquisition)
	assert_not_nil(acquisition)
	assert_instance_of(String, acquisition)
	json=JSON[acquisition]
	assert_instance_of(Hash, json)
end

#assert_post_conditionsObject


96
97
# File 'app/models/generic_file.rb', line 96

def assert_post_conditions
end

#assert_pre_conditionsObject


94
95
# File 'app/models/generic_file.rb', line 94

def assert_pre_conditions
end