1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support/testing
Alex Tambellini 560541ffde Fix ActiveSupport::Testing::Isolation on jruby
Hopefully the first of many related to #11700.

With these changes the railties tests wont 100% pass but at least they
will run and show the errors.

The first problem was the @method_name variable was never set.
This was causing ENV["ISOLATION_TEST"] to always be nil which
would cause the test output to never be written to the tempfile.

The second problem was that an invalid -t option was being passed
to minitest and minitest was erroring out.

The third problem was the run method needs to always return an
instance of the test class it is trying to isolate. We were returning
a ProxyTestResult instead.
2013-08-02 00:06:26 -04:00
..
assertions.rb remove deprecated assert_present and assert_blank. 2013-07-01 22:06:26 +02:00
autorun.rb oops. I should have only required minitest, not minitets/autorun. muscle memory. 2013-05-09 01:50:56 -07:00
constant_lookup.rb determine_constant_from_test_name does not swallow NoMethodErrors [Yves Senn] 2013-03-28 10:04:39 +01:00
declarative.rb better documentation for AS::Testing::Declarative#test. [ci skip] 2013-06-19 13:00:38 +02:00
deprecation.rb Remove more references to Test::Unit 2012-01-06 15:36:36 -03:00
isolation.rb Fix ActiveSupport::Testing::Isolation on jruby 2013-08-02 00:06:26 -04:00
setup_and_teardown.rb add documentation for ActiveSupport::Testing::SetupAndTeardown. 2013-06-19 14:45:49 +02:00
tagged_logging.rb Updates to make rails 4 happy with minitest 5: 2013-05-06 17:38:45 -07:00