Skip to content

Commit

Permalink
RSpec fix for ApplicationProcess
Browse files Browse the repository at this point in the history
  • Loading branch information
patanj101 committed Jul 22, 2024
1 parent ae39710 commit 95379a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/models/job_application_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
end

describe 'Validations' do
it { is_expected.to validate_presence_of(:status) }
it { is_expected.to validate_inclusion_of(:status).in_array(JobApplication.statuses.keys) }

xit { is_expected.to validate_uniqueness_of(:job_id).scoped_to(:user_id) }
end
end

0 comments on commit 95379a4

Please sign in to comment.