blob: 62f67f6f55c7228df4a5bf0e9fdb56ec3096b9c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require_relative '../../spec_helper'
describe "FalseClass#to_s" do
it "returns the string 'false'" do
false.to_s.should == "false"
end
it "returns a frozen string" do
false.to_s.should.frozen?
end
it "always returns the same string" do
false.to_s.should equal(false.to_s)
end
end
|