aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/referential.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-11-29 17:40:32 +0100
committerTeddy Wing2017-11-29 17:40:32 +0100
commitdb6afd0a73c7196a1e2ca0fe62599443bc2a9dd1 (patch)
tree4e369c8c0cf52ac5d1f054cafa2cd13fc25c130d /app/models/referential.rb
parente06f5641a074eacce3218f277b42ef5f1eb696a6 (diff)
downloadchouette-core-db6afd0a73c7196a1e2ca0fe62599443bc2a9dd1.tar.bz2
referential_spec(duplicate referential): Check that lock gets released
Add an extra referential to the test and check that it gets saved to confirm that the table lock gets released at the end of the transaction. Not sure if this is actually necessary to verify, but wanted to make sure before I had gone and read the Postgres docs (https://www.postgresql.org/docs/9.4/static/explicit-locking.html#ADVISORY-LOCKS). Refs #5024
Diffstat (limited to 'app/models/referential.rb')
0 files changed, 0 insertions, 0 deletions