Completed
Push — master ( bd630a...f47f8d )
by Steve
01:55
created

SteveDiceSpec::it_always_rolls_steve()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace spec\MeadSteve\DiceApi\Dice;
4
5
use PhpSpec\ObjectBehavior;
6
use Prophecy\Argument;
7
8
class SteveDiceSpec extends ObjectBehavior
9
{
10
    function it_is_initializable()
11
    {
12
        $this->shouldHaveType(\MeadSteve\DiceApi\Dice\SteveDice::class);
13
        $this->shouldHaveType(\MeadSteve\DiceApi\Dice::class);
14
    }
15
16
    function it_has_a_name_of_dSTEVE()
17
    {
18
        $this->name()->shouldBe("dSTEVE");
19
    }
20
21
    function it_always_rolls_steve()
22
    {
23
        $this->roll()->shouldBe("Steve");
24
    }
25
}
26