From 3cb83acc94211eff09348d440d925e5069ef5a04 Mon Sep 17 00:00:00 2001 From: Timo Schilling Date: Wed, 23 Jan 2019 16:52:47 +0100 Subject: [PATCH] fix dependency detection fixes: #5209 --- spec/unit/controller_filters_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/controller_filters_spec.rb b/spec/unit/controller_filters_spec.rb index cbf8874d66c..5193f084035 100644 --- a/spec/unit/controller_filters_spec.rb +++ b/spec/unit/controller_filters_spec.rb @@ -17,7 +17,7 @@ positions = %w(before around after) suffixes = %w(action) base = %w() - if ActiveAdmin::Dependency.rails? '< 5.1.x' + if ActiveAdmin::Dependency.actionpack? '< 5.1.x' suffixes += %w(filter) base += %w(skip_filter skip_action_callback) end