1
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
5
validation = Validatable::ValidatesAcceptanceOf.new stub_everything, :acceptance
6
instance = stub(:acceptance=>'true')
7
validation.valid?(instance)
11
validation = Validatable::ValidatesAcceptanceOf.new stub_everything, :acceptance
12
instance = stub(:acceptance=>'false')
13
validation.valid?(instance)
17
options = {:message => nil, :if => nil, :times => nil, :level => nil, :groups => nil}
18
Validatable::ValidatesAcceptanceOf.new(stub_everything, :test).must_understand(options)
b'\\ No newline at end of file'