From 6071b45f98f4aa8c598e03453d19f4040edb22f0 Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Tue, 28 Mar 2017 13:03:23 -0400 Subject: [PATCH] Update replication test suite for new fine branch --- .gitignore | 2 +- lib/tasks/test_replication.rake | 4 ++-- spec/replication/util/migration_order_spec.rb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ebbecea6860..40aaeb2fcf8 100644 --- a/.gitignore +++ b/.gitignore @@ -72,7 +72,7 @@ public/pictures/ public/ui/ # spec/ -spec/replication/util/data/euwe_migrations +spec/replication/util/data/*_migrations # tmp/ tmp/* diff --git a/lib/tasks/test_replication.rake b/lib/tasks/test_replication.rake index abc70386482..67645434e4f 100644 --- a/lib/tasks/test_replication.rake +++ b/lib/tasks/test_replication.rake @@ -16,7 +16,7 @@ class EvmTestSetupReplication def write_released_migrations file_contents = released_migrations.sort.join("\n") - File.write(Rails.root.join("spec/replication/util/data/euwe_migrations"), file_contents) + File.write(Rails.root.join("spec/replication/util/data/previous_migrations"), file_contents) end private @@ -40,6 +40,6 @@ class EvmTestSetupReplication end def fetch_command - "git fetch #{'--depth=1 ' if ENV['CI']}http://github.com/ManageIQ/manageiq.git refs/heads/euwe:#{TEST_BRANCH}" + "git fetch #{'--depth=1 ' if ENV['CI']}http://github.com/ManageIQ/manageiq.git refs/heads/fine:#{TEST_BRANCH}" end end diff --git a/spec/replication/util/migration_order_spec.rb b/spec/replication/util/migration_order_spec.rb index 104b0e64d62..f3cd8da3831 100644 --- a/spec/replication/util/migration_order_spec.rb +++ b/spec/replication/util/migration_order_spec.rb @@ -1,6 +1,6 @@ describe "migration order" do let(:current_release_migrations) do - File.read(File.join(__dir__, 'data/euwe_migrations')).split.map(&:to_i).sort + File.read(File.join(__dir__, 'data/previous_migrations')).split.map(&:to_i).sort end let(:migrations_now) do