Use activerecord translations on admin legislation processes
This commit is contained in:
@@ -82,7 +82,7 @@ describe Legislation::Process do
|
||||
allegations_end_date: Date.current - 1.day)
|
||||
expect(process).to be_invalid
|
||||
expect(process.errors.messages[:allegations_end_date])
|
||||
.to include("must be on or after the allegations start date")
|
||||
.to include("must be on or after the comments start date")
|
||||
end
|
||||
|
||||
it "is valid if allegations_end_date is the same as allegations_start_date" do
|
||||
|
||||
Reference in New Issue
Block a user