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.27 tracks/ruby/test/generator_test.rb
trackler-2.0.8.26 tracks/ruby/test/generator_test.rb
trackler-2.0.8.24 tracks/ruby/test/generator_test.rb
trackler-2.0.8.23 tracks/ruby/test/generator_test.rb
trackler-2.0.8.22 tracks/ruby/test/generator_test.rb
trackler-2.0.8.21 tracks/ruby/test/generator_test.rb
trackler-2.0.8.20 tracks/ruby/test/generator_test.rb
trackler-2.0.8.19 tracks/ruby/test/generator_test.rb
trackler-2.0.8.18 tracks/ruby/test/generator_test.rb
trackler-2.0.8.17 tracks/ruby/test/generator_test.rb
trackler-2.0.8.16 tracks/ruby/test/generator_test.rb
trackler-2.0.8.15 tracks/ruby/test/generator_test.rb
trackler-2.0.8.14 tracks/ruby/test/generator_test.rb
trackler-2.0.8.13 tracks/ruby/test/generator_test.rb
trackler-2.0.8.12 tracks/ruby/test/generator_test.rb
trackler-2.0.8.11 tracks/ruby/test/generator_test.rb
trackler-2.0.8.10 tracks/ruby/test/generator_test.rb
trackler-2.0.8.9 tracks/ruby/test/generator_test.rb
trackler-2.0.8.8 tracks/ruby/test/generator_test.rb
trackler-2.0.8.7 tracks/ruby/test/generator_test.rb