Fix No such file or directory tmp/cache issue in tests

This commit is contained in:
Santiago Pastorino
2015-06-10 21:10:40 -03:00
parent 4752e6723a
commit 460150fef2
3 changed files with 4 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ require 'test_helper'
require 'generators/serializer/serializer_generator'
class SerializerGeneratorTest < Rails::Generators::TestCase
destination File.expand_path("../../tmp", __FILE__)
destination File.expand_path("../../../tmp/generators", __FILE__)
setup :prepare_destination
tests Rails::Generators::SerializerGenerator