test/helper.rb in neo-rails-0.2.1 vs test/helper.rb in neo-rails-0.2.2
- old
+ new
@@ -1,10 +1,15 @@
require 'simplecov' if ENV['COVERAGE']
-
+require 'rails/generators'
require 'minitest/autorun'
class NeoRailsCase < MiniTest::Spec
class << self
alias :context :describe
alias :test :it
end
+end
+
+class GeneratorCase < Rails::Generators::TestCase
+ destination File.expand_path("../../tmp", File.dirname(__FILE__))
+ setup :prepare_destination
end