Sha256: 5f80fd0c3305e5616578cafafbabf0981411cee8816fce30eaca1206ac7f0b6f
Contents?: true
Size: 550 Bytes
Versions: 17
Compression:
Stored size: 550 Bytes
Contents
require 'test_helper' class StatusGroupTest < ActiveSupport::TestCase setup do @commit = commits(:second) @group = StatusGroup.new(@commit) 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
17 entries across 17 versions & 1 rubygems