aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/shared_context.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-12-13 17:01:15 +0100
committerTeddy Wing2017-12-13 17:01:15 +0100
commitbd8a999b12963b7303500ce93449bb7932afeec3 (patch)
tree66e2c140ad1c80f49a95f9c8957fb71810e3b7ba /spec/support/shared_context.rb
parent985d9a673a79f2b304119999dc76d418225332c7 (diff)
downloadchouette-core-bd8a999b12963b7303500ce93449bb7932afeec3.tar.bz2
referential_lock_during_creation_spec: Make truncation strategy stick
The `truncation: true` strategy wasn't sticking. The config `before` block only ran once for this test file. Instead of attaching the filter to the `it` blocks, put it on the `context`. This correctly gets each test to run in a transaction. Remove the `truncation: false` filter I had added previously as this didn't do what I wanted it to: it prevented the `before` block from running instead of filtering out tests with `truncation: true`. Refs #5024
Diffstat (limited to 'spec/support/shared_context.rb')
0 files changed, 0 insertions, 0 deletions