Skip to content

Commit

Permalink
include sprockets-rails in dependencies for rails 7.0.0 tests
Browse files Browse the repository at this point in the history
Not sure if this is really the best way to test, but it gets tests to pass for now. We're trying to test cocoon works with our attributes, and I guess cocoon is currently only doing sprockets though... so I guess it is best.

Maybe we should include our own cocoon-like JS via some other method in the future... nathanvda/cocoon#555
  • Loading branch information
jrochkind committed Dec 22, 2021
1 parent 501bc9c commit c222eca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ appraise "rails-7-0" do
gem "rails", "~> 7.0.0"
gem "pg", "~> 1.0"

# to make our integration tests using simple_form work as-is,
# this works. Don't totally underestand the actual simple_form
# setup paths in Rails 7....
gem "sprockets-rails"
end

appraise "rails-edge" do
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ gem "capybara", "~> 3.0"
gem "webdrivers", "~> 4.0"
gem "selenium-webdriver"
gem "byebug"
gem "sprockets-rails"

gemspec path: "../"

0 comments on commit c222eca

Please sign in to comment.