Skip to content

Commit 4d3fbcc

Browse files
author
Ivanov-Anton
authored
update README.md
to prevent error uninitialized constant ActiveAdmin::Select2
1 parent aee89d3 commit 4d3fbcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ for feature specs:
238238
```ruby
239239
RSpec.configure do |config|
240240
config.before(:each) do |example|
241-
ActiveAdmin::Select2.inline_ajax_options = (example.metadata[:type] == :feature)
241+
ActiveAdmin::SearchableSelect.inline_ajax_options = (example.metadata[:type] == :feature)
242242
end
243243
end
244244

0 commit comments

Comments
 (0)