Sha256: 3525eed903825a994b4a9a7fe51b7eb304fc97845862787c9e97ae44e894632c
Contents?: true
Size: 291 Bytes
Versions: 2
Compression:
Stored size: 291 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe Slippers::BindingWrapper do def f @a = 22 @b = 33 binding end it "should evaluate the bindings" do bindings_wrapper = Slippers::BindingWrapper.new(f()) bindings_wrapper['a'].should eql(22) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
starapor-slippers-0.0.0 | spec/binding_wrapper.rb |
starapor-slippers-0.0.1 | spec/binding_wrapper.rb |