Skip to content

Commit

Permalink
Make line2 not mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
pskl committed Jan 22, 2025
1 parent c9a6a43 commit b24a9af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/asp/entities/adresse/indu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class Indu < Entity

validates_presence_of %i[
pointremise
cpltdistribution
codetypeadr
codeinseepays
codepostalcedex
Expand Down
2 changes: 0 additions & 2 deletions spec/lib/asp/entities/adresse/indu_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

describe "validation" do
it { is_expected.to validate_presence_of(:pointremise) }
it { is_expected.to validate_presence_of(:cpltdistribution) }

it { is_expected.to validate_presence_of(:codepostalcedex) }
it { is_expected.to validate_presence_of(:codecominsee) }
it { is_expected.to validate_presence_of(:codeinseepays) }
Expand Down

0 comments on commit b24a9af

Please sign in to comment.