Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.337 kb
require File.expand_path('../../../spec_helper', __FILE__)
describe "FalseClass#^" do
it "returns false if other is nil or false, otherwise true" do
(false ^ false).should == false
(false ^ true).should == true
(false ^ nil).should == false
(false ^ "").should == true
(false ^ mock('x')).should == true
end
end
Jump to Line
Something went wrong with that request. Please try again.