Sha256: 7bff3601dc1bf53e0a0248d6623b6bdbc1653fdf28cd483e11cc8ae3af6befb1
Contents?: true
Size: 624 Bytes
Versions: 3
Compression:
Stored size: 624 Bytes
Contents
module SpecSupport module Search def clean_up_indexes_and_tables Peoplefinder::Person.__elasticsearch__.create_index! index: Peoplefinder::Person.index_name, force: true Peoplefinder::Membership.delete_all Peoplefinder::Person.delete_all Peoplefinder::Group.delete_all # => paper trail is behaving inappropriately and versions are still created # => PaperTrail.enabled? should be 'false' unless implicitly set. # => This appears to be due to the before(:all) blocks needed by the specs # => that use elasticsearch. PaperTrail::Version.delete_all end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
peoplefinder-0.1.1 | spec/support/search.rb |
peoplefinder-0.1.0 | spec/support/search.rb |
peoplefinder-0.0.2 | spec/support/search.rb |