From fd495b05381064babb54b91cc85d7b8a9497cd31 Mon Sep 17 00:00:00 2001 From: Sam Maldonado Date: Fri, 28 Jul 2023 18:35:58 -0400 Subject: [PATCH] style fixes --- spec/models/user_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 00ecf7525b..45952395ae 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -77,7 +77,8 @@ end context 'without a custom exit status messages' do before do - allow(Settings).to receive(:validate_file).and_return(Rails.root.join('spec/fixtures/files/dummy_invalidate.sh')) + allow(Settings).to receive(:validate_file).and_return(Rails.root + .join('spec/fixtures/files/dummy_invalidate.sh')) end context 'a successful login' do it 'should return a success message' do @@ -93,7 +94,8 @@ context 'with a custom exit status message' do before do allow(Settings).to receive(:validate_custom_status_message).and_return('2' => 'a two!', '3' => 'a three!') - allow(Settings).to receive(:validate_file).and_return(Rails.root.join('spec/fixtures/files/dummy_invalidate.sh')) + allow(Settings).to receive(:validate_file).and_return(Rails.root + .join('spec/fixtures/files/dummy_invalidate.sh')) end context 'a successful login' do it 'should return a success message' do