Ruby - Testing with RSpec and Minitest
What is wrong with this TDD workflow snippet in Ruby?
class TestCalculator < Minitest::Test
def test_multiply
calc = Calculator.new
assert_equal 6, calc.multiply(2, 3)
end
end
class Calculator
def multiply(a, b)
a - b
end
end