Sha256: 844a821396bfeb5dca0f672aeed471d9d12d8766aba14b32a05c9eeaa4fcd986
Contents?: true
Size: 260 Bytes
Versions: 2
Compression:
Stored size: 260 Bytes
Contents
module UnitSupport def env(path) { 'REQUEST_PATH' => path } end def with_config(options, &block) original = self.config begin self.config.merge(options).save block.call ensure original.save end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
staticpress-0.7.1 | spec/support/unit_support.rb |
staticpress-0.7.0 | spec/support/unit_support.rb |