1
0
Fork 0
mirror of https://github.com/ms-ati/docile synced 2023-03-27 23:21:52 -04:00

fix names of two tests

This commit is contained in:
Marc Siegel 2011-12-06 19:06:55 -05:00
parent 78a86c9764
commit c72679b3e0

View file

@ -97,7 +97,7 @@ describe Docile do
@iv1 = 'iv1'; outer { @iv1.should == 'iv1' }
end
it "should write instance variable assigned in block into outer dsl scope" do
it "should proxy instance variable assignments in block in outer dsl scope back into block's context" do
@iv1 = 'foo'; outer { @iv1 = 'bar' }; @iv1.should == 'bar'
end
@ -105,7 +105,7 @@ describe Docile do
@iv2 = 'iv2'; outer { inner { @iv2.should == 'iv2' } }
end
it "should find instance variable from block definition in inner dsl scope" do
it "should proxy instance variable assignments in block in inner dsl scope back into block's context" do
@iv2 = 'foo'; outer { inner { @iv2 = 'bar' } }; @iv2.should == 'bar'
end
end