Sha256: d86bfe882f52f199d258ce431bf147551b2396afb7e54d09f095a6d923391df9

Contents?: true

Size: 645 Bytes

Versions: 10

Compression:

Stored size: 645 Bytes

Contents

require 'test_helper'

class Jeweler
  module Commands
    class TestValidateGemspec < Test::Unit::TestCase
      build_command_context 'build context' do
        setup do
          @command = Jeweler::Commands::ValidateGemspec.build_for(@jeweler)
        end

        should 'assign gemspec_helper' do
          assert_same @gemspec_helper, @command.gemspec_helper
        end

        should 'assign output' do
          assert_same @output, @command.output
        end

        should 'return Jeweler::Commands::ValidateGemspec' do
          assert_kind_of Jeweler::Commands::ValidateGemspec, @command
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jeweler-2.3.9 test/jeweler/commands/test_validate_gemspec.rb
jeweler-2.3.7 test/jeweler/commands/test_validate_gemspec.rb
jeweler-2.3.6 test/jeweler/commands/test_validate_gemspec.rb
jeweler-2.3.5 test/jeweler/commands/test_validate_gemspec.rb
jeweler-2.3.3 test/jeweler/commands/test_validate_gemspec.rb
jeweler-2.3.2 test/jeweler/commands/test_validate_gemspec.rb
jeweler-2.3.1 test/jeweler/commands/test_validate_gemspec.rb
jeweler-2.3.0 test/jeweler/commands/test_validate_gemspec.rb
jeweler-2.2.1 test/jeweler/commands/test_validate_gemspec.rb
jeweler-2.1.2 test/jeweler/commands/test_validate_gemspec.rb