Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexy78 committed Nov 29, 2024
1 parent 8fde9ed commit 5bf308a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/calculator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
it { is_expected.to validate_length_of(:uk_name).is_at_least(3).is_at_most(50) }
it { is_expected.to validate_presence_of(:slug) }
it { is_expected.to validate_uniqueness_of(:slug) }
it { is_expected.to validate_length_of(:english_additional_notes).is_at_most(150) }
it { is_expected.to validate_length_of(:ukranian_additional_notes).is_at_most(150) }
it { is_expected.to validate_length_of(:english_additional_notes).is_at_most(500) }
it { is_expected.to validate_length_of(:ukranian_additional_notes).is_at_most(500) }
end

describe "associations" do
Expand Down

0 comments on commit 5bf308a

Please sign in to comment.