aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stif
diff options
context:
space:
mode:
authorTeddy Wing2017-09-25 12:29:25 +0200
committerTeddy Wing2017-09-25 12:29:25 +0200
commitbcae693304405cc9c273cf60952b1d123a820e31 (patch)
tree7781e66ec56abba277cf826375e8fcfc1b7b43a2 /lib/stif
parent75c7bc19c318ace8136ee94c2a09952226c0b7de (diff)
downloadchouette-core-bcae693304405cc9c273cf60952b1d123a820e31.tar.bz2
ModelAttribute spec: Move `#instance_variable_set` to `before` block4401-compliance-control-ModelAttribute--address-Robert,s-comments
Recommendation from Robert. The `@__all__` is an implementation detail. It's more fragile to use `#instance_variable_set` in each test. Instead, put that part in a `before` block so that if we decide to change it, we only have to do so in one place. Now each test can blithely assume that `ModelAttribute.all` starts out as an empty list. Refs #4401
Diffstat (limited to 'lib/stif')
0 files changed, 0 insertions, 0 deletions