We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b87150 commit d971ffeCopy full SHA for d971ffe
1 file changed
test/generators/adr_generator_test.rb
@@ -6,7 +6,11 @@
6
class ADRGeneratorTest < Rails::Generators::TestCase
7
tests AdrGenerator
8
destination Rails.root.join("tmp/generator_tests")
9
- setup :prepare_destination
+
10
+ setup do
11
+ self.destination_root = Rails.root.join("tmp", "generator_tests_#{Process.pid}")
12
+ prepare_destination
13
+ end
14
15
test "creates adr file with sequential number" do
16
run_generator [ "use_postgres_as_primary_database" ]
0 commit comments