Skip to content

Commit

Permalink
Fix Test environment for Rails 4
Browse files Browse the repository at this point in the history
  • Loading branch information
robertomiranda committed Apr 24, 2015
1 parent bad13c5 commit 979521f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions gemfiles/rails4_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ gemspec :path => '../'

group :development, :test do
gem 'activerecord', '~> 4.0.0'
gem 'minitest', '~> 4.2'
end
2 changes: 1 addition & 1 deletion has_secure_token.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest", "~> 5.4.2"
spec.add_development_dependency "minitest"
spec.add_development_dependency 'sqlite3'
end
2 changes: 1 addition & 1 deletion test/has_secure_password_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require "test_helper"

class SecureTokenTest < Minitest::Test
class SecureTokenTest < MiniTest::Unit::TestCase
def setup
@user = User.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/securerandom_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require "test_helper"

class SecureRandomTest < Minitest::Test
class SecureRandomTest < MiniTest::Unit::TestCase
def test_base58
s1 = SecureRandom.base58
s2 = SecureRandom.base58
Expand Down

0 comments on commit 979521f

Please sign in to comment.