Skip to content

Commit

Permalink
Set up minitest gem for 1.8.7 test compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Jun 27, 2014
1 parent 490b07b commit cb55354
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,6 @@
source "https://rubygems.org"

gem "rake"
gem "minitest"

gemspec
18 changes: 18 additions & 0 deletions Gemfile.lock
Original file line number Original file line Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions test/test_helper.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,8 @@
require 'minitest/autorun' require 'minitest/autorun'
require 'gemoji' require 'gemoji'


class TestCase < MiniTest::Unit::TestCase class TestCase < MiniTest::Test
def self.test(name, &block) def self.test(name, &block)
define_method(:"test #{name.inspect}", &block) define_method(:"test_#{name.inspect}", &block)
end end
end end

0 comments on commit cb55354

Please sign in to comment.