Sha256: d7fdb8d9dc4b09feb57566b4e04737e6a2f69a17e97013ca22ffdb3b117d233d
Contents?: true
Size: 755 Bytes
Versions: 24
Compression:
Stored size: 755 Bytes
Contents
require_relative 'test_helper' module Generator class UpdateVersionAndGenerateTestsTest < Minitest::Test def test_call mock_exercise = Minitest::Mock.new mock_exercise.expect :update_tests_version, nil mock_exercise.expect :update_example_solution, nil mock_exercise.expect :create_tests_file, nil subject = UpdateVersionAndGenerateTests.new(mock_exercise) subject.call mock_exercise.verify end end class UpdateVersionAndGenerateTestsFrozenVersionTest < Minitest::Test def test_call mock_exercise = Minitest::Mock.new mock_exercise.expect :create_tests_file, nil subject = GenerateTests.new(mock_exercise) subject.call mock_exercise.verify end end end
Version data entries
24 entries across 24 versions & 1 rubygems