Skip to content

Commit

Permalink
never require rubygems
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Aug 17, 2009
1 parent a4c0c49 commit 096246d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions test/test_helper.rb
@@ -1,14 +1,8 @@
$: << File.join(File.dirname(__FILE__), '..', 'lib')

require 'rubygems'
require 'mobi'

require 'test/unit'
require 'mobi'

class Test::Unit::TestCase
FIXTURES = File.join(File.dirname(__FILE__), 'fixtures')

def fixture(name)
File.join(FIXTURES, "#{name}.mobi")
File.join(File.dirname(__FILE__), 'fixtures', "#{name}.mobi")
end
end

0 comments on commit 096246d

Please sign in to comment.