Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ group :test do
gem 'cuprite'
gem 'webrick', require: false

# The page objects (active_admin_datetimepicker/page_objects) need it, and it needs ActiveAdmin 4.
if Gem::Version.new(activeadmin_version) >= Gem::Version.new('4.0.0.beta1')
gem 'active_admin_page_objects', github: 'activeadmin-plugins/active_admin_page_objects', ref: '8ec1677d4118559af117421fbf6576cdd5e33721', require: false
# The page objects (active_admin_datetimepicker/page_objects) need it, and it needs ActiveAdmin 4.0.0.beta23 or later.
if Gem::Version.new(activeadmin_version) >= Gem::Version.new('4.0.0.beta23')
gem 'active_admin_page_objects', github: 'activeadmin-plugins/active_admin_page_objects', tag: 'v2.0.0.beta1', require: false
end
end
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ colors, not `$aa-datetimepicker-accent-color`.

## Page objects

Page objects for tests, built on [active_admin_page_objects](https://github.com/activeadmin-plugins/active_admin_page_objects) 2.x. They are optional and need ActiveAdmin 4. 2.x is not on RubyGems yet, so add it to your test group from GitHub:
Page objects for tests, built on [active_admin_page_objects](https://github.com/activeadmin-plugins/active_admin_page_objects) 2.x. They are optional and need ActiveAdmin 4.0.0.beta23 or later. 2.x is not on RubyGems yet, so add it to your test group from GitHub:

```ruby
gem 'active_admin_page_objects', github: 'activeadmin-plugins/active_admin_page_objects', branch: 'restructure-vanilla-v4'
gem 'active_admin_page_objects', github: 'activeadmin-plugins/active_admin_page_objects', tag: 'v2.0.0.beta1'
```

Then require the file from your spec helper:
Expand Down
Loading