Skip to content

Commit

Permalink
fixing linters issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aradradev committed Nov 1, 2023
1 parent cecf81c commit f4257f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/integration/api/v1/reservations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@
car_id: { type: :string }
}
}
response '200', 'update successful' do
response '200', 'Update successful' do
let(:user_id) { create(:user).id }
let(:id) { create(:reservation, user: User.find(:user_id).id) }
let(:reservation) { { location: 'New location', date: '2023-11-01', car_id: create(:car).id } }
run_test!
end
response '404', 'User not found' do
let(:user_id) { 'nil' }
Expand Down

0 comments on commit f4257f1

Please sign in to comment.