Sha256: 4f9e2fb69656358e9c4997bf4a8d8a92df985733ff997ab89a8773d376c5e9f9

Contents?: true

Size: 775 Bytes

Versions: 110

Compression:

Stored size: 775 Bytes

Contents

require_relative 'test_helper'

module Generator
  class UpdateVersionAndGenerateTestsTest < Minitest::Test
    def test_call
      mock_repository = Minitest::Mock.new
      mock_repository.expect :update_tests_version, nil
      mock_repository.expect :update_example_solution, nil
      mock_repository.expect :create_tests_file, nil

      subject = UpdateVersionAndGenerateTests.new(mock_repository)
      subject.call

      mock_repository.verify
    end
  end

  class UpdateVersionAndGenerateTestsFrozenVersionTest < Minitest::Test
    def test_call
      mock_repository = Minitest::Mock.new
      mock_repository.expect :create_tests_file, nil

      subject = GenerateTests.new(mock_repository)
      subject.call

      mock_repository.verify
    end
  end

end

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
trackler-2.0.8.47 tracks/ruby/test/generator_test.rb
trackler-2.0.8.46 tracks/ruby/test/generator_test.rb
trackler-2.0.8.45 tracks/ruby/test/generator_test.rb
trackler-2.0.8.44 tracks/ruby/test/generator_test.rb
trackler-2.0.8.43 tracks/ruby/test/generator_test.rb
trackler-2.0.8.42 tracks/ruby/test/generator_test.rb
trackler-2.0.8.41 tracks/ruby/test/generator_test.rb
trackler-2.0.8.40 tracks/ruby/test/generator_test.rb
trackler-2.0.8.39 tracks/ruby/test/generator_test.rb
trackler-2.0.8.38 tracks/ruby/test/generator_test.rb
trackler-2.0.8.37 tracks/ruby/test/generator_test.rb
trackler-2.0.8.36 tracks/ruby/test/generator_test.rb
trackler-2.0.8.35 tracks/ruby/test/generator_test.rb
trackler-2.0.8.34 tracks/ruby/test/generator_test.rb
trackler-2.0.8.33 tracks/ruby/test/generator_test.rb
trackler-2.0.8.32 tracks/ruby/test/generator_test.rb
trackler-2.0.8.31 tracks/ruby/test/generator_test.rb
trackler-2.0.8.30 tracks/ruby/test/generator_test.rb
trackler-2.0.8.29 tracks/ruby/test/generator_test.rb
trackler-2.0.8.28 tracks/ruby/test/generator_test.rb