Sha256: 7f092073d0764a2f4bb8841b641ecbb6d935c247eb40c3830cfe8da674d67d19
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
# # Author:: Jamie Winsor (<jamie@vialstudios.com>) # Copyright:: 2011, En Masse Entertainment, Inc # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # require 'rubygems' require 'bundler' Bundler.setup(:default, :test) require 'spork' Spork.prefork do $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rspec' require 'dragonfly-ffmpeg' require 'support/video_matchers' SAMPLES_DIR = File.expand_path(File.dirname(__FILE__) + '/../samples') unless defined?(SAMPLES_DIR) require 'logger' LOG_FILE = File.dirname(__FILE__) + '/spec.log' unless defined?(LOG_FILE) TMP_DIR = File.dirname(__FILE__) + '/tmp' unless defined?(TMP_DIR) FileUtils.mkdir_p(TMP_DIR) FileUtils.rm_rf Dir.glob(TMP_DIR + '/*') FileUtils.rm_rf(LOG_FILE) logger = Logger.new(LOG_FILE) logger.level = Logger::INFO FFMPEG.logger = logger def test_app Dragonfly::App.send(:new) end end Spork.each_run do # code for each spork run end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dragonfly-ffmpeg-0.1.5 | spec/spec_helper.rb |