Sha256: 5c1d8f32a450f3ff806b9838cd8ad665b76a43c91dcd8b67c3a53e3c9cce2cea
Contents?: true
Size: 393 Bytes
Versions: 6
Compression:
Stored size: 393 Bytes
Contents
require "spec_helper" require "hamster/immutable" describe Hamster::Immutable do class Fixture include Hamster::Immutable end [:dup, :clone].each do |method| describe "##{method}" do before do @original = Fixture.new @result = @original.send(method) end it "returns self" do @result.should equal(@original) end end end end
Version data entries
6 entries across 6 versions & 2 rubygems