Sha256: 121576474b7ca5e42efb9eb5a6f42082d6236160a6ff07867001316ed2ca5d0f
Contents?: true
Size: 491 Bytes
Versions: 9
Compression:
Stored size: 491 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') require 'hamster/set' describe Hamster::Set do describe "#to_set" do [ [], ["A"], ["A", "B", "C"], ].each do |values| describe "on #{values.inspect}" do before do @original = Hamster.set(*values) @result = @original.to_set end it "returns self" do @result.should equal(@original) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems