From 731fa0b242ee051b28f8060aaa6a30be957c86fd Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Thu, 6 Jul 2023 04:43:21 -0700 Subject: [PATCH] Fix typo: tripple ==> triple --- spec/controllers/rails_admin/main_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/rails_admin/main_controller_spec.rb b/spec/controllers/rails_admin/main_controller_spec.rb index aff2eaeb4..e6e5d93d8 100644 --- a/spec/controllers/rails_admin/main_controller_spec.rb +++ b/spec/controllers/rails_admin/main_controller_spec.rb @@ -513,7 +513,7 @@ def get(action, params) expect(controller.send(:back_or_index)).to eq(index_path) end - it 'returns back to index path when return_to url starts with tripple slash' do + it 'returns back to index path when return_to url starts with triple slash' do return_to_url = "///#{request.host}/teams" controller.params = {return_to: return_to_url} expect(controller.send(:back_or_index)).to eq(index_path)