Sha256: 059fc38f32508b719b3d37325d8a2a74d2f4ebc38ac001668cab8061a2c7990e

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

require "spec_helper"

require "hamster/tuple"

describe Hamster::Tuple do

  describe "#inspect" do

    before do
      @list = Hamster::Tuple.new("A", "B")
    end

    it "returns a string with the inspected values" do
      @list.inspect.should == "(\"A\", \"B\")"
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hamster-1.0.1.pre.rc.1 spec/hamster/tuple/inspect_spec.rb