Sha256: d6ef5db6e60a677c42496c97b9b268f409acf5f3866aad9aaf73514138c2088c
Contents?: true
Size: 595 Bytes
Versions: 3
Compression:
Stored size: 595 Bytes
Contents
require 'test_helper' class StatusGroupTest < ActiveSupport::TestCase setup do @commit = commits(:second) @group = StatusGroup.new(@commit.significant_status, @commit.visible_statuses) end test "#description is a summary of the statuses" do assert_equal '1 / 2 checks OK', @group.description end test "#group? returns true" do assert_equal true, @group.group? end test "#target_url returns nil" do assert_nil @group.target_url end test "#state is significant's status state" do assert_equal @commit.significant_status.state, @group.state end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
shipit-engine-0.5.2 | test/models/status_group_test.rb |
shipit-engine-0.5.1 | test/models/status_group_test.rb |
shipit-engine-0.5.0 | test/models/status_group_test.rb |