spec/inside_spec.rb in recess-0.0.2 vs spec/inside_spec.rb in recess-0.0.3
- old
+ new
@@ -79,11 +79,11 @@
def self.called_value
@called_value
end
- inside TestInside4, :foo
+ inside "TestInside4", :foo
end
class TestExample1Data
def initialize(val="data")
@val = val
@@ -117,9 +117,11 @@
describe "Containers" do
it "should know what properties are requested of it" do
TestContainer1.recess_inside_instance_methods.should =~ ["foo", "foo="]
TestContainer1.recess_inside_instance_methods(TestInside1).should =~ ["foo", "foo="]
TestContainer3.recess_inside_instance_methods(TestInside2).should =~ ["foo"]
+ TestContainer1.recess_inside_instance_methods("TestInside1").should =~ ["foo", "foo="]
+ TestContainer3.recess_inside_instance_methods("TestInside2").should =~ ["foo"]
end
it "should allow call through to super" do
container = TestContainer3.new
container.foo.should == "super: container"