Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ClassCastException thrown when a method is defined inside a test #4014
First discovered in the body of a large Rails 4.2.6 application where I am piloting the transition to JRuby 9K, but reproduced in a stock Rails application fresh out of the scaffold.
Other relevant info you may wish to add:
require 'test_helper' class FailcaseTest < ActiveSupport::TestCase test 'should not throw a class cast exception' do def bad end end end