Sha256: 1ab54a8a62ada0c04925ae9b16b439d8ced495f6ec97faba7e1915958ddc7c0f

Contents?: true

Size: 525 Bytes

Versions: 28

Compression:

Stored size: 525 Bytes

Contents

require 'test_helper'

class Jeweler
  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

          command = Jeweler::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

28 entries across 28 versions & 7 rubygems

Version Path
dima-jeweler-0.9.2 test/jeweler/commands/version/test_write.rb
dima-jeweler-1.2.0 test/jeweler/commands/version/test_write.rb
gohanlonllc-jeweler-0.11.1.20090513153819 test/jeweler/commands/version/test_write.rb
gohanlonllc-jeweler-1.0.0.20080513000000 test/jeweler/commands/version/test_write.rb
gohanlonllc-jeweler-1.0.0.20090513153819 test/jeweler/commands/version/test_write.rb
mcornick-jeweler-1.2.0 test/jeweler/commands/version/test_write.rb
monkeyhelper-jeweler-1.0.1 test/jeweler/commands/version/test_write.rb
namelessjon-jeweler-1.0.1 test/jeweler/commands/version/test_write.rb
technicalpickles-jeweler-0.10.0 test/jeweler/commands/version/test_write.rb
technicalpickles-jeweler-0.10.1 test/jeweler/commands/version/test_write.rb
technicalpickles-jeweler-0.10.2 test/jeweler/commands/version/test_write.rb
technicalpickles-jeweler-0.11.0 test/jeweler/commands/version/test_write.rb
technicalpickles-jeweler-0.9.0 test/jeweler/commands/version/test_write.rb
technicalpickles-jeweler-0.9.1 test/jeweler/commands/version/test_write.rb
technicalpickles-jeweler-1.0.0 test/jeweler/commands/version/test_write.rb
technicalpickles-jeweler-1.0.1 test/jeweler/commands/version/test_write.rb
technicalpickles-jeweler-1.0.2 test/jeweler/commands/version/test_write.rb
technicalpickles-jeweler-1.1.0 test/jeweler/commands/version/test_write.rb
technicalpickles-jeweler-1.2.1 test/jeweler/commands/version/test_write.rb
jeweler-1.2.1 test/jeweler/commands/version/test_write.rb