Permalink
Browse files

Set up minitest gem for 1.8.7 test compatibility

  • Loading branch information...
mislav committed Jun 27, 2014
1 parent 490b07b commit cb55354db945672f2988d3b83b1a6fde003e65c3
Showing with 26 additions and 2 deletions.
  1. +6 −0 Gemfile
  2. +18 −0 Gemfile.lock
  3. +2 −2 test/test_helper.rb
View
@@ -0,0 +1,6 @@
+source "https://rubygems.org"
+
+gem "rake"
+gem "minitest"
+
+gemspec
View
@@ -0,0 +1,18 @@
+PATH
+ remote: .
+ specs:
+ gemoji (1.5.0)
+
+GEM
+ remote: https://rubygems.org/
+ specs:
+ minitest (5.3.5)
+ rake (10.3.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ gemoji!
+ minitest
+ rake
View
@@ -1,8 +1,8 @@
require 'minitest/autorun'
require 'gemoji'
-class TestCase < MiniTest::Unit::TestCase
+class TestCase < MiniTest::Test
def self.test(name, &block)
- define_method(:"test #{name.inspect}", &block)
+ define_method(:"test_#{name.inspect}", &block)
end
end

0 comments on commit cb55354

Please sign in to comment.