Sha256: d7c38eb93d2e2da9ba54e8f92de4c47a8db4df7b45cfdd5550563dabf6837873
Contents?: true
Size: 438 Bytes
Versions: 2
Compression:
Stored size: 438 Bytes
Contents
shared_context "paranoidal", paranoid: true do before(:all) do @paranoid_condition = Protector.paranoid Protector.paranoid = true end after(:all) do Protector.paranoid = @paranoid_condition end end shared_context "adequate", paranoid: false do before(:all) do @paranoid_condition = Protector.paranoid Protector.paranoid = false end after(:all) do Protector.paranoid = @paranoid_condition end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
protector-0.4.1 | spec/spec_helpers/contexts/paranoid.rb |
protector-0.4.0 | spec/spec_helpers/contexts/paranoid.rb |