Sha256: df20b2ac164d51ff9d6d9053887d8f1506d1e1e8bda153daf07a2632cbc57604

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

require 'test_helper'
require 'gem_watch/check'

class CheckTest < Test::Unit::TestCase
  context "an empty check" do
    setup do
      @check = GemWatch::Check.new
    end
    
    should "@impacts be an empty hash at initialization" do
      assert_kind_of Hash, @check.impacts
      assert @check.impacts.empty?
    end
  
    should "passed? returns true if @impacts is empty" do
      assert @check.passed?
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gem_watch-0.1.2 test/check_test.rb