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.6 tracks/ruby/test/generator_test.rb
trackler-2.0.8.5 tracks/ruby/test/generator_test.rb
trackler-2.0.8.4 tracks/ruby/test/generator_test.rb
trackler-2.0.8.3 tracks/ruby/test/generator_test.rb
trackler-2.0.8.2 tracks/ruby/test/generator_test.rb
trackler-2.0.8.1 tracks/ruby/test/generator_test.rb
trackler-2.0.7.0 tracks/ruby/test/generator_test.rb
trackler-2.0.6.44 tracks/ruby/test/generator_test.rb
trackler-2.0.6.43 tracks/ruby/test/generator_test.rb
trackler-2.0.6.42 tracks/ruby/test/generator_test.rb
trackler-2.0.6.41 tracks/ruby/test/generator_test.rb
trackler-2.0.6.40 tracks/ruby/test/generator_test.rb
trackler-2.0.6.39 tracks/ruby/test/generator_test.rb
trackler-2.0.6.38 tracks/ruby/test/generator_test.rb
trackler-2.0.6.37 tracks/ruby/test/generator_test.rb
trackler-2.0.6.36 tracks/ruby/test/generator_test.rb
trackler-2.0.6.35 tracks/ruby/test/generator_test.rb
trackler-2.0.6.34 tracks/ruby/test/generator_test.rb
trackler-2.0.6.33 tracks/ruby/test/generator_test.rb
trackler-2.0.6.32 tracks/ruby/test/generator_test.rb