Sha256: 2a53e38fd8ff2f2443193c6c5adfb267a8ceeab489a2b0eab7e688aef072a52a
Contents?: true
Size: 531 Bytes
Versions: 7
Compression:
Stored size: 531 Bytes
Contents
require 'kookaburra/null_browser' describe Kookaburra::NullBrowser do it 'is a BasicObject' do pending "Not sure how to test this, since a BasicObject doesn't implement #kind_of?, etc." do subject.kind_of?(BasicObject).should == true end end it 'raises a NullBrowserError when any methods are called on it' do lambda { subject.app }.should raise_error( Kookaburra::NullBrowserError, "You did not provide a :browser to the Kookaburra configuration, but you tried to use one anyway.") end end
Version data entries
7 entries across 7 versions & 1 rubygems