Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix for RubyMine 4 test runs #11

Merged
merged 1 commit into from

2 participants

@geoffcorey

Added :options attribute to MiniTest::TestRunner so RubyMine test runs does not fail. Without it RubyMine 4 was failing.

NoMethodError: undefined method options' for #<MiniTest::TestRunner:0x007f8845726d28>
/Users/geoffcorey/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit/testcase.rb:16:in
run'

@kern kern merged commit dd31997 into kern:develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 17, 2012
  1. Added option as an attribute to test_runner

    geoff corey authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/minitest/test_runner.rb
View
4 lib/minitest/test_runner.rb
@@ -8,7 +8,7 @@ module MiniTest
#
# @see https://github.com/seattlerb/minitest MiniTest
class TestRunner
- attr_reader :suite, :test, :assertions, :result, :exception
+ attr_reader :suite, :test, :assertions, :result, :exception, :options
def initialize(suite, test)
@suite = suite
@@ -36,4 +36,4 @@ def fix_result(result)
result == '.' ? [:pass, nil] : result
end
end
-end
+end
Something went wrong with that request. Please try again.