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.1.0.11 tracks/ruby/test/generator_test.rb
trackler-2.1.0.10 tracks/ruby/test/generator_test.rb
trackler-2.1.0.9 tracks/ruby/test/generator_test.rb
trackler-2.1.0.8 tracks/ruby/test/generator_test.rb
trackler-2.1.0.7 tracks/ruby/test/generator_test.rb
trackler-2.1.0.6 tracks/ruby/test/generator_test.rb
trackler-2.1.0.5 tracks/ruby/test/generator_test.rb
trackler-2.1.0.4 tracks/ruby/test/generator_test.rb
trackler-2.1.0.3 tracks/ruby/test/generator_test.rb
trackler-2.1.0.2 tracks/ruby/test/generator_test.rb
trackler-2.1.0.1 tracks/ruby/test/generator_test.rb
trackler-2.1.0.0 tracks/ruby/test/generator_test.rb
trackler-2.0.8.55 tracks/ruby/test/generator_test.rb
trackler-2.0.8.54 tracks/ruby/test/generator_test.rb
trackler-2.0.8.53 tracks/ruby/test/generator_test.rb
trackler-2.0.8.52 tracks/ruby/test/generator_test.rb
trackler-2.0.8.51 tracks/ruby/test/generator_test.rb
trackler-2.0.8.50 tracks/ruby/test/generator_test.rb
trackler-2.0.8.49 tracks/ruby/test/generator_test.rb
trackler-2.0.8.48 tracks/ruby/test/generator_test.rb