Sha256: ceec47a1db82b92f7794f8743a416bda469d2b3f3532971bdcc853c32cd22525
Contents?: true
Size: 785 Bytes
Versions: 3
Compression:
Stored size: 785 Bytes
Contents
require 'pathname' require 'fileutils' require 'rake' require 'rubygems' require 'bundler/setup' require 'bacon' ROOT = Pathname.new(File.expand_path('../../', __FILE__)) $:.unshift(ENV['RUBYMOTION_CHECKOUT'] || "/Library/RubyMotion/lib") $:.unshift((ROOT + 'lib').to_s) require 'motion/project/template/osx' require 'motion-sparkle-sandbox' Bacon.summary_at_exit module SpecHelper def self.temporary_directory TemporaryDirectory.temporary_directory end module TemporaryDirectory def temporary_directory ROOT + 'tmp' end module_function :temporary_directory def setup_temporary_directory temporary_directory.mkpath end def teardown_temporary_directory temporary_directory.rmtree if temporary_directory.exist? end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
motion-sparkle-sandbox-2.0.0 | spec/spec_helper.rb |
motion-sparkle-sandbox-0.8.0 | spec/spec_helper.rb |
motion-sparkle-sandbox-0.7.0 | spec/spec_helper.rb |