Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

#__getobj__ returns delegate

  • Loading branch information...
commit 16b1b9301e3abce65a9daccdd92b071f333df63d 1 parent ad2c0de
@tatey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -44,7 +44,7 @@ This is done with delegation, avoiding monkey patching and copying. The real obj
mock_model.valid # => true
real_model.valid? # => false
-real_model.object_id == mock_model.object_id # => true
+real_model.object_id == mock_model.__getobj__.object_id # => true
```
## Examples
Please sign in to comment.
Something went wrong with that request. Please try again.