Add start time locale

pull/6827/head
Oliver Günther 8 years ago
parent 24b9ebac59
commit 2e60c5fa41
  1. 1
      config/locales/en.yml
  2. 2
      spec/controllers/meetings_controller_spec.rb

@ -29,6 +29,7 @@ en:
participants_attended: "Attendees"
participants_invited: "Invitees"
start_time: "Time"
start_time_hour: "Starting time"
errors:
messages:
invalid_time_format: "is not a valid time. Required format: HH:MM"

@ -142,7 +142,7 @@ describe MeetingsController, type: :controller do
expect(response).to render_template :new
expect(response.body)
.to have_selector '#errorExplanation li',
text: "Start time hour " +
text: "Starting time " +
I18n.t('activerecord.errors.messages.invalid_time_format')
end
end

Loading…
Cancel
Save