Browse Source

rubocop

pull/627/head
JG 3 years ago
parent
commit
aa703559de
  1. 2
      spec/requests/users_controller_spec.rb

2
spec/requests/users_controller_spec.rb

@ -1614,7 +1614,7 @@ RSpec.describe UsersController, type: :request do
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 in there are multiple organisations in the database" do
it "has only specific organisation name in the dropdown" do it "has only specific organisation name in the dropdown" do
get "/users/new", params: {organisation_id: user.organisation.id} get "/users/new", params: { organisation_id: user.organisation.id }
expect(page).to have_select("user-organisation-id-field", options: [user.organisation.name]) expect(page).to have_select("user-organisation-id-field", options: [user.organisation.name])
end end
end end

Loading…
Cancel
Save