| @@ 44-55 (lines=12) @@ | ||
| 41 | $this->components()->shouldBeArray(); |
|
| 42 | } |
|
| 43 | ||
| 44 | function it_should_connector() |
|
| 45 | { |
|
| 46 | $this->connector()->shouldReturn([ |
|
| 47 | [ |
|
| 48 | [ |
|
| 49 | 'param' => 'post_type', |
|
| 50 | 'operator' => '==', |
|
| 51 | 'value' => 'custom_post_type', |
|
| 52 | ], |
|
| 53 | ], |
|
| 54 | ]); |
|
| 55 | } |
|
| 56 | ||
| 57 | function it_should_be_add_screen_attributes() |
|
| 58 | { |
|
| @@ 40-52 (lines=13) @@ | ||
| 37 | $this->components()->shouldBeArray(); |
|
| 38 | } |
|
| 39 | ||
| 40 | function it_should_connector() |
|
| 41 | { |
|
| 42 | $this->beAnInstanceOf('fixtures\LIN3S\WPFoundation\Fields'); |
|
| 43 | $this->connector()->shouldReturn([ |
|
| 44 | [ |
|
| 45 | [ |
|
| 46 | 'param' => 'post_type', |
|
| 47 | 'operator' => '==', |
|
| 48 | 'value' => 'post', |
|
| 49 | ], |
|
| 50 | ], |
|
| 51 | ]); |
|
| 52 | } |
|
| 53 | ||
| 54 | function it_should_be_add_screen_attributes() |
|
| 55 | { |
|