Skip to content

Commit

Permalink
Merge pull request gazay#267 from gogainda/fix_truffleruby
Browse files Browse the repository at this point in the history
Fix tests, add Truffleruby head to CI
  • Loading branch information
gazay authored Apr 14, 2021
2 parents fe3c7b2 + 7f5fb8b commit ab7e611
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ env:
- "RABL_GEM=rabl-rails"

rvm:
- 2.2.10
- 2.3.8
- 2.4.10
- 2.5.8
- 2.6.6
- 2.7.1
- ruby-head
- truffleruby-head
4 changes: 2 additions & 2 deletions spec/gon/basic_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
Gon::Request.
instance_variable_set(:@request_id, request.object_id)
expect(ActionView::Base.instance_methods).to include(:include_gon)
@base = ActionView::Base.new
@base = ActionView::Base.new(nil,{}, nil)
@base.request = request
end

Expand Down Expand Up @@ -251,7 +251,7 @@
before(:each) do
Gon::Request.
instance_variable_set(:@request_id, request.object_id)
@base = ActionView::Base.new
@base = ActionView::Base.new(nil, {}, nil)
@base.request = request
end

Expand Down
2 changes: 1 addition & 1 deletion spec/gon/global_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
before(:each) do
Gon.clear
expect(ActionView::Base.instance_methods).to include(:include_gon)
@base = ActionView::Base.new
@base = ActionView::Base.new(nil, {}, nil)
@base.request = request
end

Expand Down

0 comments on commit ab7e611

Please sign in to comment.