From 18dba67a598136d5796b9839f6a91abcfa19eced Mon Sep 17 00:00:00 2001 From: JG Date: Fri, 27 May 2022 07:45:51 +0100 Subject: [PATCH] better naming in specs --- spec/features/log_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/log_spec.rb b/spec/features/log_spec.rb index 76f5f1b09..41f233442 100644 --- a/spec/features/log_spec.rb +++ b/spec/features/log_spec.rb @@ -15,7 +15,7 @@ RSpec.describe "Log Features" do click_button("Sign in") end - it "I see logs belonging to the same organisation" do + it "it displays the logs belonging to the same organisation" do expect(page).to have_content(log_to_search.id) expect(page).to have_content(same_organisation_log.id) expect(page).not_to have_content(another_organisation_log.id) @@ -45,7 +45,7 @@ RSpec.describe "Log Features" do expect(page).to have_link("Clear search") end - it "I see logs belonging to the same organisation" do + it "it displays the logs belonging to the same organisation after I clear the search results" do click_link("Clear search") expect(page).to have_content(log_to_search.id) expect(page).to have_content(same_organisation_log.id)