Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Maldonado committed Jul 28, 2023
1 parent fd9a1e9 commit fd495b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/models/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fd495b0

Please sign in to comment.