Sha256: fe4892e2c1822596ab9cfcf64452e568fd052f2129e4d684ae0dd4bebfbd12b5
Contents?: true
Size: 541 Bytes
Versions: 1
Compression:
Stored size: 541 Bytes
Contents
require 'tmpdir' require File.join(File.dirname(__FILE__), *%w(.. lib shining)) require 'rspec' require 'rake' require 'json/pure' Shining.quiet! def mock_heroku_client zemock = mock Heroku::Client, :host => 'heroku.com', :password => 'foo', :user => 'bar' end RSpec.configure do |config| config.before :all do TMP = Dir.tmpdir/'shining-tmp' unless defined?(TMP) FileUtils.rm_rf TMP FileUtils.mkdir_p TMP end config.before :each do FileUtils.rm_rf TMP/'temp' @preso = Shining::Preso.new TMP/'temp' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shining-2.0.1 | spec/spec_helper.rb |