Commit 4d5e8e94 authored by Erick Banks's avatar Erick Banks

Use let syntax

parent a7fe3895
...@@ -11,14 +11,14 @@ module QA ...@@ -11,14 +11,14 @@ module QA
end end
let(:initial_file) { 'pushed_to_primary.txt' } let(:initial_file) { 'pushed_to_primary.txt' }
let(:final_file) { 'pushed_to_secondary.txt' } let(:final_file) { 'pushed_to_secondary.txt' }
let(:praefect_manager) { Service::PraefectManager.new }
before do before do
@praefect_manager = Service::PraefectManager.new
Flow::Login.sign_in Flow::Login.sign_in
end end
after do after do
@praefect_manager.reset praefect_manager.reset
end end
it 'makes sure that automatic failover is happening' do it 'makes sure that automatic failover is happening' do
...@@ -30,7 +30,7 @@ module QA ...@@ -30,7 +30,7 @@ module QA
push.file_content = "This should exist on both nodes" push.file_content = "This should exist on both nodes"
end end
@praefect_manager.stop_primary_node praefect_manager.stop_primary_node
project.visit! project.visit!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment