spec/spec_helper.rb in flac2mp3-0.3.2 vs spec/spec_helper.rb in flac2mp3-0.4.0
- old
+ new
@@ -1,24 +1,6 @@
-begin
- require 'spec'
-rescue LoadError
- require 'rubygems'
- gem 'rspec'
- require 'spec'
-end
+require 'rubygems'
+require 'bacon'
+require 'facon'
-# this is my favorite way to require ever
-begin
- require 'mocha'
-rescue LoadError
- require 'rubygems'
- gem 'mocha'
- require 'mocha'
-end
-
-Spec::Runner.configure do |config|
- config.mock_with :mocha
-end
-
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
-
require 'flac2mp3'