Sha256: 1f5c3419312c26323e151fee53e6d779d0a0f10fe790761d9d5bfc1b4747d6e1

Contents?: true

Size: 296 Bytes

Versions: 3

Compression:

Stored size: 296 Bytes

Contents

require 'spec_helper'

describe "Core extensions" do
  describe Mash do
    before(:each) do
      @mash = Mash[:key1 => "val1", "key2" => "val2"]
    end
    
    it "should return a value by a method call" do
      @mash.key1.should == "val1"
      @mash.key2.should == "val2"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rmce_uploadr-0.0.3 spec/core_ext_spec.rb
rmce_uploadr-0.0.2 spec/core_ext_spec.rb
rmce_uploadr-0.0.1 spec/core_ext_spec.rb