blob: 9bf76a62b80d4b4a58ae9c3418ea329295bc1332 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require_relative '../../spec_helper'
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
|