1 | <?php |
||
21 | class PageFieldsSpec extends ObjectBehavior |
||
22 | { |
||
23 | function let() |
||
27 | |||
28 | function it_extends_fields() |
||
33 | |||
34 | function it_implements_fields_interface() |
||
38 | |||
39 | function it_should_be_components() |
||
43 | |||
44 | function it_should_connector() |
||
45 | { |
||
46 | $this->connector()->shouldReturn([ |
||
47 | [ |
||
48 | [ |
||
49 | 'param' => 'post_type', |
||
50 | 'operator' => '==', |
||
51 | 'value' => 'page', |
||
52 | ], |
||
53 | [ |
||
54 | 'param' => 'page_template', |
||
55 | 'operator' => '==', |
||
56 | 'value' => 'page', |
||
57 | ], |
||
58 | ], |
||
59 | ]); |
||
60 | } |
||
61 | |||
62 | function it_should_be_add_screen_attributes() |
||
66 | |||
67 | function it_should_be_remove_screen_attributes() |
||
71 | } |
||
72 |