Sha256: 15cf85971b7ed78fa3489ecb4839ea92d71b42408b8493246d721710de4b77a2

Contents?: true

Size: 531 Bytes

Versions: 17

Compression:

Stored size: 531 Bytes

Contents

require 'test_helper'

class Juwelier
  module Commands
    module Version
      class TestWrite < Test::Unit::TestCase

        should "call write_version on version_helper in update_version" do
          mock(version_helper = Object.new).update_to 1, 2, 3, nil

          command = Juwelier::Commands::Version::Write.new
          command.version_helper = version_helper
          command.major = 1
          command.minor = 2
          command.patch = 3
          command.update_version
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
juwelier-2.4.9 test/juwelier/commands/version/test_write.rb
juwelier-2.4.7 test/juwelier/commands/version/test_write.rb
juwelier-2.4.6 test/juwelier/commands/version/test_write.rb
juwelier-2.4.5 test/juwelier/commands/version/test_write.rb
juwelier-2.4.4 test/juwelier/commands/version/test_write.rb
juwelier-2.4.1 test/juwelier/commands/version/test_write.rb
juwelier-2.4.0 test/juwelier/commands/version/test_write.rb
juwelier-2.3.6 test/juwelier/commands/version/test_write.rb
juwelier-2.3.4 test/juwelier/commands/version/test_write.rb
juwelier-2.3.2 test/juwelier/commands/version/test_write.rb
juwelier-2.3.0 test/juwelier/commands/version/test_write.rb
juwelier-2.2.3 test/juwelier/commands/version/test_write.rb
juwelier-2.2.1 test/juwelier/commands/version/test_write.rb
juwelier-2.1.3 test/juwelier/commands/version/test_write.rb
juwelier-2.1.2 test/juwelier/commands/version/test_write.rb
juwelier-2.1.1 test/juwelier/commands/version/test_write.rb
juwelier-2.1.0 test/juwelier/commands/version/test_write.rb