Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.542 kb
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
Jump to Line
Something went wrong with that request. Please try again.