Skip to content

Commit

Permalink
Merge pull request #233 from tansengming/feature/rails7-specs
Browse files Browse the repository at this point in the history
adds rails 7 specs
  • Loading branch information
tansengming authored Aug 12, 2024
2 parents fb05080 + 698f629 commit a6eab24
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
ruby: [3.0.7, 3.1.6, 3.2.5, 3.3.4]
gemfile: [gemfiles/rails61.gemfile, gemfiles/rails60.gemfile] # default Gemfile, gemfiles/rails70.gemfile excluded until rack fix
gemfile: [gemfiles/rails71.gemfile, gemfiles/rails70.gemfile, gemfiles/rails61.gemfile, gemfiles/rails60.gemfile] # Gemfile fails on test/callbacks_spec.rb:52
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails60.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ group :test do
gem 'webmock'
# Required for system tests
gem 'capybara'
gem 'puma', '< 6' # https://github.com/teamcapybara/capybara/issues/2598
gem 'puma'
gem 'selenium-webdriver'
gem 'webdrivers'
end
2 changes: 1 addition & 1 deletion gemfiles/rails61.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ group :test do
gem 'webmock'
# Required for system tests
gem 'capybara'
gem 'puma', '< 6' # https://github.com/teamcapybara/capybara/issues/2598
gem 'puma'
gem 'selenium-webdriver'
gem 'webdrivers'
end
23 changes: 23 additions & 0 deletions gemfiles/rails70.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
source :rubygems

gem 'rails', '~> 7.0.0'

gem 'rake'
gem 'responders'
gem 'stripe'

group :development, :test do
gem 'm'
end

group :test do
gem 'mocha'
gem 'simplecov', require: false
gem 'stripe-ruby-mock'
gem 'webmock'
# Required for system tests
gem 'capybara'
gem 'puma'
gem 'selenium-webdriver'
gem 'webdrivers'
end
23 changes: 23 additions & 0 deletions gemfiles/rails71.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
source :rubygems

gem 'rails', '~> 7.1.0'

gem 'rake'
gem 'responders'
gem 'stripe'

group :development, :test do
gem 'm'
end

group :test do
gem 'mocha'
gem 'simplecov', require: false
gem 'stripe-ruby-mock'
gem 'webmock'
# Required for system tests
gem 'capybara'
gem 'puma'
gem 'selenium-webdriver'
gem 'webdrivers'
end

0 comments on commit a6eab24

Please sign in to comment.