1 | <?php |
||
7 | class LinkAttributesExtensionSpec extends ObjectBehavior |
||
8 | { |
||
9 | /** |
||
10 | * @param Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface $csrfProvider |
||
11 | */ |
||
12 | function let($csrfProvider) |
||
18 | |||
19 | function it_should_be_a_twig_extension() |
||
23 | |||
24 | function it_should_have_a_name() |
||
28 | |||
29 | function it_should_have_the_csrf_attribute_function() |
||
33 | |||
34 | function its_getLinkAttributes_should_return_html_attributes_for_delete_method_with_default_confirmation_message() |
||
38 | |||
39 | function its_getLinkAttributes_should_return_html_attributes_for_delete_method_with_a_specified_confirmation_message() |
||
43 | |||
44 | function its_getLinkAttributes_should_return_html_attributes_for_delete_method_with_no_confirmation_attribute() |
||
48 | |||
49 | function its_getLinkAttributes_should_return_html_attributes_for_post_method() |
||
53 | |||
54 | function its_getLinkAttributes_should_return_html_attributes_for_post_method_with_a_specified_confirmation_message() |
||
58 | |||
59 | function its_getLinkAttributes_should_return_html_attributes_for_put_method() |
||
63 | |||
64 | function its_getLinkAttributes_should_return_html_attributes_for_put_method_with_a_specified_confirmation_message() |
||
68 | |||
69 | function its_getLinkAttributes_should_return_html_attributes_for_patch_method() |
||
73 | |||
74 | function its_getLinkAttributes_should_return_html_attributes_for_patch_method_with_a_specified_confirmation_message() |
||
78 | |||
79 | function its_getLinkAttributes_should_return_html_attributes_for_specified_method_even_if_it_is_fancy() |
||
83 | } |
||
84 |