Browse Source

tests: one more plural test

pull/950/head
natdeanlewissoftwire 3 years ago
parent
commit
2834ff2692
  1. 2
      spec/requests/sales_logs_controller_spec.rb

2
spec/requests/sales_logs_controller_spec.rb

@ -265,7 +265,7 @@ RSpec.describe SalesLogsController, type: :request do
it "has search results in the title" do it "has search results in the title" do
get "/sales-logs?search=#{log_to_search.id}", headers: headers, params: {} get "/sales-logs?search=#{log_to_search.id}", headers: headers, params: {}
expect(page).to have_title("Logs (1 log matching ‘#{log_to_search.id}’) - Submit social housing lettings and sales data (CORE) - GOV.UK") expect(page).to have_title("Logs (1 logs matching ‘#{log_to_search.id}’) - Submit social housing lettings and sales data (CORE) - GOV.UK")
end end
it "shows sales logs matching the id" do it "shows sales logs matching the id" do

Loading…
Cancel
Save