blob: a104551ae8987ca11aef9d316dc2117bf1f559c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require File.expand_path('../../../spec_helper', __FILE__)
describe "TrueClass#|" do
it "returns true" do
(true | true).should == true
(true | false).should == true
(true | nil).should == true
(true | "").should == true
(true | mock('x')).should == true
end
end
|