Skip to content

Commit

Permalink
minor cleanup of the spec helper
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk committed Apr 14, 2011
1 parent 2d4f0e4 commit bbac75e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions spec/spec_helper.rb
@@ -1,11 +1,9 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'multi_json'
require 'rspec'
require 'rspec/autorun'
begin
require 'bundler'
Bundler.setup
rescue LoadError
$stderr.puts "Bundler (or a dependency) not available."
puts "although not required, it's recommended that you use bundler during development"
end

require 'multi_json'
require 'rspec'
require 'rspec/autorun'

0 comments on commit bbac75e

Please sign in to comment.