Permalink
Browse files

Don't hardcode require paths

Also simplified test setup
  • Loading branch information...
1 parent ab25a25 commit 8834ab938ec8657cccf3313955fbb6d8c7201024 @mynyml committed Nov 4, 2009
Showing with 4 additions and 12 deletions.
  1. +0 −1 Manifest
  2. +4 −4 test/test_every.rb
  3. +0 −7 test/test_helper.rb
View
@@ -8,4 +8,3 @@ every.gemspec
examples.rb
lib/every.rb
test/test_every.rb
-test/test_helper.rb
View
@@ -1,8 +1,8 @@
-require 'pathname'
require 'set'
-root = Pathname(__FILE__).dirname.parent
-require root.join('test/test_helper')
-require root.join('lib/every')
+require 'test/unit'
+require 'context'
+require 'matchy'
+require 'lib/every'
class EveryTest < Test::Unit::TestCase
context "Every" do
View
@@ -1,7 +0,0 @@
-require 'test/unit'
-require 'context'
-require 'matchy'
-begin
- require 'ruby-debug'
-rescue LoadError, RuntimeError
-end

0 comments on commit 8834ab9

Please sign in to comment.