Skip to content

Commit 451223f

Browse files
Fix rspec-rails gem issues (#626)
* Remove spring gem Spring does not support Rails 7.1 and Ruby 3.3, which are both used in this project. * Add arctic_admin gem If you attempt to run a fresh installation of this repo, the tests won't pass because of the importations: - As the arctic_admin gem is not initially on the gemfile, it will cause the system specs to fail. - We also need to have the `active_admin.js` in order to pass the specs (and ensure functionality). Worth mentioning that `arctic_admin/base` already adds `mixins` and `fontawesome`, so there might be no need to add them manually. * Remove arctic_admin gem and move rspec-rails gem rspec-rails gem should be in dev and test environment * Add spring back * Update Gemfile --------- Co-authored-by: Santiago Bartesaghi <[email protected]>
1 parent b95e4dc commit 451223f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ group :development, :test do
4949
gem 'faker', '~> 3.2'
5050
gem 'pry-byebug', '~> 3.9', platform: :mri
5151
gem 'pry-rails', '~> 0.3.9'
52+
gem 'rspec-rails', '~> 6.1'
5253
end
5354

5455
group :development do
@@ -79,7 +80,6 @@ group :test do
7980
gem 'pg_query', '~> 5.1.0'
8081
gem 'prosopite', '~> 1.4.2'
8182
gem 'rspec-openapi', '~> 0.12'
82-
gem 'rspec-rails', '~> 6.1'
8383
gem 'rspec-retry', github: 'rootstrap/rspec-retry', branch: 'add-intermittent-callback'
8484
gem 'selenium-webdriver', '~> 4.17.0'
8585
gem 'shoulda-matchers', '~> 6.1'

0 commit comments

Comments
 (0)