Skip to content

Commit 2af91cf

Browse files
committed
Fix in error stub for Ruby 2.6 + Rails 5.0
1 parent 7bc21fe commit 2af91cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/inertia/rspec_helper_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ def initialize
1010
def write(msg)
1111
@messages << msg
1212
end
13+
14+
# Rails 5.0 + Ruby 2.6 require puts to be a public method
15+
def puts(thing)
16+
end
1317
end
1418

1519
RSpec.describe InertiaRails::RSpec, type: :request do

0 commit comments

Comments
 (0)