Sha256: b6cd99b5ade3082694f89401d5d4b877244fabefa2bb9fcba6e4358f70848941
Contents?: true
Size: 597 Bytes
Versions: 3
Compression:
Stored size: 597 Bytes
Contents
require 'test_helper' class MissingStatusTest < ActiveSupport::TestCase setup do @real_status = statuses(:first_pending) @status = MissingStatus.new(@real_status, %w(ci/very-important style/very-important-too)) end test "#state is 'missing'" do assert_equal 'missing', @status.state end test "#description explains the situation" do message = 'ci/very-important and style/very-important-too are required for deploy but were not sent' assert_equal message, @status.description end test "#success? is false" do refute_predicate @status, :success? end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
shipit-engine-0.5.2 | test/models/missing_status_test.rb |
shipit-engine-0.5.1 | test/models/missing_status_test.rb |
shipit-engine-0.5.0 | test/models/missing_status_test.rb |