Sha256: e4c0692e57b865c49db190fe02e269d9929378e0874d2d4060a9e720ceda5cfd

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

require "spec_helper"

require "hamster/tuple"

describe Hamster::Tuple do

  describe "#first" do

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

    it "returns the first value" do
      @tuple.first.should == "A"
    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/first_spec.rb