Sha256: 8089384665c859746f47a3ba721b4b78e95c14a871282cd50c57748790ac92ea
Contents?: true
Size: 347 Bytes
Versions: 3
Compression:
Stored size: 347 Bytes
Contents
ENV["TEST"] = "1" require "simplecov" SimpleCov.start require "pp" root = File.expand_path("../../", __FILE__) require "#{root}/lib/USER_PROVIDED_NAME" module Helpers def execute(cmd) puts "Running: #{cmd}" if ENV["DEBUG"] out = `#{cmd}` puts out if ENV["DEBUG"] out end end RSpec.configure do |c| c.include Helpers end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
thor_template-2.0.2 | lib/starter_project/spec/spec_helper.rb |
thor_template-2.0.1 | lib/starter_project/spec/spec_helper.rb |
thor_template-2.0.0 | lib/starter_project/spec/spec_helper.rb |