Commit 84ec1113 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Add doc when rspec-set won't work

parent 186c1bdf
...@@ -216,8 +216,10 @@ project, one project will do for the entire file. This can be achieved by using ...@@ -216,8 +216,10 @@ project, one project will do for the entire file. This can be achieved by using
reloads or recreates the model, _only_ if needed. That is, when you changed reloads or recreates the model, _only_ if needed. That is, when you changed
properties or destroyed the object. properties or destroyed the object.
There is one gotcha; you can't reference a model defined in a `let` block in a Note that you can't reference a model defined in a `let` block in a `set` block.
`set` block.
Also, `set` is not supported in `:js` specs since those don't use transactions
to clean up database state after each example.
### Time-sensitive tests ### Time-sensitive tests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment