Browse Source

configured faker to use UK locale

pull/608/head
JG 3 years ago
parent
commit
651e8f683a
  1. 1
      config/environments/test.rb
  2. 2
      spec/requests/case_logs_controller_spec.rb

1
config/environments/test.rb

@ -60,4 +60,5 @@ Rails.application.configure do
# Annotate rendered view with file names.
# config.action_view.annotate_rendered_view_with_filenames = true
Faker::Config.locale = "en-GB"
end

2
spec/requests/case_logs_controller_spec.rb

@ -308,7 +308,7 @@ RSpec.describe CaseLogsController, type: :request do
expect(page).not_to have_content("Managing organisation")
end
context "using a search bar" do
context "using a search query" do
let(:logs) { FactoryBot.create_list(:case_log, 3, :completed, owning_organisation: user.organisation) }
it "shows case logs matching the id" do

Loading…
Cancel
Save