Skip to content

Commit

Permalink
Use minitest to avoid warning, version 4.2 is just OK to match rails …
Browse files Browse the repository at this point in the history
…4.0 and 3.0 version require.
  • Loading branch information
Eric-Guo committed Oct 3, 2014
1 parent 4ae793d commit eaa2b32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions attr_accessible2strong_params.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency 'minitest', '~> 4.2'


spec.required_rubygems_version = Gem::Requirement.new(">= 0") if spec.respond_to? :required_rubygems_version=
if spec.respond_to? :specification_version then
Expand Down
4 changes: 2 additions & 2 deletions test/test_attr_accessible2strong_params.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
require 'coveralls'
Coveralls.wear!

require 'test/unit'
require 'minitest/autorun'
require 'attr_accessible2strong_params'

class AttrAccessible2StrongParamsTest < Test::Unit::TestCase
class AttrAccessible2StrongParamsTest < MiniTest::Test
def test_read_model_attr_accessible_sym_list
c = AttrAccessible2StrongParams::Converter.new
assert_equal [:create_badge, :create_shift_code, :in_time, :out_time, :profile_check, :update_badge, :update_shift_code] \
Expand Down

0 comments on commit eaa2b32

Please sign in to comment.