Skip to content

Commit

Permalink
Fix test running in Ruby 2.2.x
Browse files Browse the repository at this point in the history
The tests will not run under ruby 2.2.x.  Include the test-unit gem to
the Gemfile.  Also add Ruby 2.1.0 and 2.2.0 to the .travis.yml file to
make sure nothing breaks in the future for these versions.
  • Loading branch information
markglenn committed May 7, 2015
1 parent 74f0388 commit f87e512
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -4,6 +4,8 @@ rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- jruby-19mode

notifications:
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -3,3 +3,4 @@ source "https://rubygems.org"
gem "shoulda", "~> 2.11.3"
gem "jeweler", "~> 1.8.7"
gem "mocha", "~> 0.14.0"
gem "test-unit", "~> 3.0.8"
4 changes: 4 additions & 0 deletions Gemfile.lock
Expand Up @@ -42,11 +42,14 @@ GEM
multi_json (~> 1.0)
multi_xml (~> 0.5)
rack (~> 1.2)
power_assert (0.2.3)
rack (1.5.2)
rake (10.1.0)
rdoc (4.0.1)
json (~> 1.4)
shoulda (2.11.3)
test-unit (3.0.9)
power_assert

PLATFORMS
ruby
Expand All @@ -55,3 +58,4 @@ DEPENDENCIES
jeweler (~> 1.8.7)
mocha (~> 0.14.0)
shoulda (~> 2.11.3)
test-unit (~> 3.0.8)

0 comments on commit f87e512

Please sign in to comment.