test/unit/generator_test.rb in sprout-1.0.26.pre vs test/unit/generator_test.rb in sprout-1.0.29.pre
- old
+ new
@@ -1,6 +1,6 @@
-require File.dirname(__FILE__) + '/test_helper'
+require 'test_helper'
class GeneratorTest < Test::Unit::TestCase
include SproutTestCase
context "The Sprout::Generator" do
@@ -287,11 +287,11 @@
end
end
context "a generator that is a subclass of another" do
# Require the source files for this context
- require 'test/fixtures/generators/song_generator'
- require 'test/fixtures/generators/song_subclass/least_favorite'
+ require 'fixtures/generators/song_generator'
+ require 'fixtures/generators/song_subclass/least_favorite'
setup do
@path = File.join(fixtures, 'generators', 'tmp')
FileUtils.mkdir_p @path