Skip to content

Commit

Permalink
Merge pull request #118 from marcoroth/fix-action-cable-require
Browse files Browse the repository at this point in the history
Upgrading to `7.0.0` causes `action_cable/channel` to throw an expection
  • Loading branch information
metaskills committed Jul 31, 2023
2 parents 1364585 + 90b0852 commit eb6fda5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/minitest-spec-rails/init/action_cable.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
require 'action_cable/channel'
unless defined?(ActionCable::Channel)
require 'action_cable/channel'
end

require 'action_cable/channel/test_case'

module MiniTestSpecRails
Expand Down

0 comments on commit eb6fda5

Please sign in to comment.