Permalink
Browse files

Update MiniTest syntax

  • Loading branch information...
Amiel Martin
Amiel Martin committed Jul 16, 2014
1 parent 9843811 commit 80791cbac137b1654670fbe2225b61ebf3d2d7a8
View
@@ -1,7 +1,6 @@
require "bundler/gem_tasks"
require 'rake/testtask'
-
task default: :test
Rake::TestTask.new do |t|
@@ -1,6 +1,6 @@
require 'test_helper'
-class Bitmasker::BitmaskAttributesTest < MiniTest::Test
+class Bitmasker::BitmaskAttributesTest < MiniTest::Unit::TestCase
MockModel = Class.new do
def self.value_to_boolean(value)
@@ -1,6 +1,6 @@
require 'test_helper'
-class Bitmasker::BitmaskScopeTest < MiniTest::Test
+class Bitmasker::BitmaskScopeTest < MiniTest::Unit::TestCase
MockModel = Class.new
View
@@ -41,7 +41,7 @@ def self.attr_accessible(*args)
end
-class BitmaskAttributesTest < MiniTest::Test
+class BitmaskAttributesTest < MiniTest::Unit::TestCase
def test_does_stuff_attribute
mock = MockModel.new
View
@@ -1,5 +1,4 @@
require 'minitest/autorun'
-# require 'turn/autorun'
require 'mocha/setup'

0 comments on commit 80791cb

Please sign in to comment.