test/rails/widget_generator_test.rb in apotomo-0.1.2 vs test/rails/widget_generator_test.rb in apotomo-0.1.3
- old
+ new
@@ -1,6 +1,6 @@
-require File.join(File.dirname(__FILE__), %w(.. test_helper))
+require 'test_helper'
require 'rails_generator'
require 'rails_generator/scripts/generate'
Rails::Generator::Base.append_sources Rails::Generator::PathSource.new(:apotomo, File.join(File.dirname(__FILE__)+'/../../generators'))
@@ -42,6 +42,6 @@
end
def file_list
Dir.glob(File.join(fake_rails_root, "**/*"))
end
-end
\ No newline at end of file
+end