From 8ebb5e664c4012625fd186ecdb9976f1f8b8720a Mon Sep 17 00:00:00 2001 From: JG Date: Wed, 1 Jun 2022 08:28:26 +0100 Subject: [PATCH] typo --- spec/requests/users_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/users_controller_spec.rb b/spec/requests/users_controller_spec.rb index 56112974b..11cf3f45d 100644 --- a/spec/requests/users_controller_spec.rb +++ b/spec/requests/users_controller_spec.rb @@ -1612,7 +1612,7 @@ RSpec.describe UsersController, type: :request do expect(page).to have_select("user-organisation-id-field", options: Organisation.pluck(:name)) end - context "when organisation id is present in params in there are multiple organisations in the database" do + context "when organisation id is present in params and there are multiple organisations in the database" do it "has only specific organisation name in the dropdown" do get "/users/new", params: { organisation_id: user.organisation.id } expect(page).to have_select("user-organisation-id-field", options: [user.organisation.name])