Sha256: 8f1ec41968aba9df7563ed31e101f7595aa5672c155d04efe788db892c9a5d99
Contents?: true
Size: 542 Bytes
Versions: 12
Compression:
Stored size: 542 Bytes
Contents
require 'spec_helper' describe Object do describe "#get_binding" do it "should return the objects binding" do lambda {}.get_binding.should be_instance_of(Binding) end end describe "#method_missing" do it "should preserve its original behavior for missing methods" do lambda { i_am_a_missing_method() }.should raise_error(NoMethodError) end it "should preserve its original behavior for missing variables" do lambda { i_am_a_missing_variable }.should raise_error(NameError) end end end
Version data entries
12 entries across 12 versions & 2 rubygems