test/surrounded_test.rb in surrounded-0.9.1 vs test/surrounded_test.rb in surrounded-0.9.2
- old
+ new
@@ -38,10 +38,10 @@
it "allows the object to store its context" do
thing = UnsurroundedObject.new
thing.name = 'Jim'
assert_raises(NoMethodError){
- thing.send(:store_context)
+ thing.__send__(:store_context)
}
thing.extend(Surrounded)
other = User.new('Guille')
\ No newline at end of file