Navigation Menu

Skip to content

Commit

Permalink
ensure we're using bundler's test env
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed May 16, 2011
1 parent 7539594 commit 7b28202
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/test_helper.rb
@@ -1,9 +1,12 @@
require 'rubygems'
require 'bundler'
Bundler.setup(:default, :test)
Bundler.require(:default, :test)

dir = File.dirname(File.expand_path(__FILE__))
$LOAD_PATH.unshift dir + '/../lib'
$TESTING = true
require 'test/unit'
require 'rubygems'
require 'resque'

begin
require 'leftright'
Expand Down

0 comments on commit 7b28202

Please sign in to comment.