blob: 935ef76e7e3f8f60251f84afb2d53984f0ea1374 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'bigdecimal'
describe :bigdecimal_clone, shared: true do
before :each do
@obj = BigDecimal("1.2345")
end
it "returns self" do
copy = @obj.public_send(@method)
copy.should equal(@obj)
end
end
|