Sha256: af237270bffaf13a78fef055370bdd3e653fe9b3661312a48860c37d5791cdb9
Contents?: true
Size: 516 Bytes
Versions: 1
Compression:
Stored size: 516 Bytes
Contents
module Spec module Helpers def reset! FileUtils.rm_rf(File.expand_path('../../../site', __FILE__)) end def remove_logs FileUtils.rm_rf(File.expand_path('../../fixtures/default/log', __FILE__)) end def run_server path = 'spec/fixtures/default' Locomotive::Steam::Logger.setup(path, false) reader = Locomotive::Mounter::Reader::FileSystem.instance reader.run!(path: path) Locomotive::Steam::Server.new(reader, disable_listen: true) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
locomotivecms_steam-0.1.0 | spec/support/helpers.rb |