Sha256: ab5afb32f3c337cea7ace061a4dc514a3bfbed479dae5e5436b1b1d975b98389

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

#          Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the MIT license.

require File.expand_path('../../../../lib/ramaze/spec/helper/snippets', __FILE__)

describe 'locals' do
  should 'find locals' do
    a = 1
    b = 2
    binding.locals.should == {'a' => 1, 'b' => 2}
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ramaze-2012.04.14 spec/snippets/binding/locals.rb
ramaze-2012.03.07 spec/snippets/binding/locals.rb