From 13786ceafd23eb8d624b8dbd0dca7ee49950dff9 Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Thu, 23 Jan 2025 10:05:30 +0000 Subject: [PATCH] Reword test names for linting --- spec/models/log_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/log_spec.rb b/spec/models/log_spec.rb index c5f9075e4..bccfb0e2e 100644 --- a/spec/models/log_spec.rb +++ b/spec/models/log_spec.rb @@ -103,7 +103,7 @@ RSpec.describe Log, type: :model do end context "when postcode_full is invalid" do - context "for a lettings log" do + context "with a lettings log" do subject(:model) { build_stubbed(:lettings_log, :setup_completed, postcode_full: "not a postcode", postcode_known: 1) } it "blanks it and postcode_known" do @@ -114,7 +114,7 @@ RSpec.describe Log, type: :model do end end - context "for a sales log" do + context "with a sales log" do subject(:model) { build_stubbed(:sales_log, :discounted_ownership_setup_complete, postcode_full: "not a postcode", pcodenk: 0) } it "blanks it and pcodenk" do