Sha256: cc18c8ef9520f91ec52d7c71e61849e207d95355616c5abc1029d15b62dfc7e6
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.6 | spec/spec_helper.rb |