Skip to content

Commit

Permalink
Deleted deprecated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SleekMutt committed Nov 20, 2024
1 parent ce1b77e commit 1a7bede
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/models/category_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@
describe "validations" do
it { is_expected.to validate_presence_of(:en_name) }
it { is_expected.to validate_length_of(:en_name).is_at_least(3).is_at_most(30) }
it { is_expected.to validate_uniqueness_of(:en_name).case_insensitive }
it { is_expected.to validate_presence_of(:uk_name) }
it { is_expected.to validate_length_of(:uk_name).is_at_least(3).is_at_most(30) }
it { is_expected.to validate_uniqueness_of(:uk_name).case_insensitive }
it { is_expected.to validate_numericality_of(:priority).is_greater_than_or_equal_to(0) }
end

Expand Down

0 comments on commit 1a7bede

Please sign in to comment.