Skip to content

Commit e114301

Browse files
committed
Ensure that jbuilder is loaded correctly
If JBuilderTemplate class was loaded before JBuilder then the superclass for the template would be a proxy object class and not the full JBuilder class.
1 parent 3e4f0d4 commit e114301

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
require "active_support"
33
require 'active_support/core_ext/array/access'
44
require "rails/version"
5+
require "jbuilder"
56

67
if Rails::VERSION::STRING > "4.0"
78
require "active_support/testing/autorun"

0 commit comments

Comments
 (0)