Module: Url::Assertions::ClassMethods

Includes:
DefaultAssertions::ClassMethods
Included in:
Url
Defined in:
app/models/url.rb

Instance Method Summary collapse

Instance Method Details

#assert_pre_conditionsObject


78
79
80
81
82
83
84
85
# File 'app/models/url.rb', line 78

def assert_pre_conditions
	Url.all.map do |u|
		stream_methods= StreamMethod.find_all_by_name(u.scheme)
		assert_not_nil(stream_methods)
		assert_instance_of(Array, stream_methods)
	end #map
#	fail "end of class assert_pre_conditions "
end