Sha256: 6e3a275b5147e26ab8dfd869056472d755129369bdb5ac4a3c7373419387bb23

Contents?: true

Size: 253 Bytes

Versions: 1

Compression:

Stored size: 253 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper.rb'

describe FlashHash do
  it 'lets you access hash keys with methods' do
    h = {:foo => :bar}
    class << h; include FlashHash; end

    h.foo.should == :bar
    h.nonexistent.should be_nil
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rforce-0.2.0 spec/rforce_spec.rb