Sha256: 80c65552d7971f4c0e31f3d174fc74ef91adcda73f22ce9fd60e4ddb6e510414
Contents?: true
Size: 654 Bytes
Versions: 24
Compression:
Stored size: 654 Bytes
Contents
require 'test_helper' module Shipit class MissingStatusTest < ActiveSupport::TestCase setup do @real_status = shipit_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 end
Version data entries
24 entries across 24 versions & 1 rubygems