Completed
Push — master ( 456549...47da6e )
by Łukasz
02:25
created

CandidatesFinderSpec::it_should_find_candidates()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace spec\Tworzenieweb\SqlProvisioner\Filesystem;
4
5
use Tworzenieweb\SqlProvisioner\Filesystem\CandidatesFinder;
6
use PhpSpec\ObjectBehavior;
7
use Prophecy\Argument;
8
9
/**
10
 * Class CandidatesFinderSpec
11
 * @package spec\Tworzenieweb\SqlProvisioner\Filesystem
12
 * @mixin CandidatesFinder
13
 */
14
class CandidatesFinderSpec extends ObjectBehavior
15
{
16
    function it_should_find_candidates()
17
    {
18
        $results = $this->find(__DIR__ . DIRECTORY_SEPARATOR . 'fixture/finder');
19
        $results->count()->shouldReturn(1);
20
    }
21
}
22