PHP Class spec\Crummy\Phlack\Bot\RepeaterBotSpec

Inheritance: extends PhpSpec\ObjectBehavior
Mostrar archivo Open project: mcrumm/phlack

Public Methods

Method Description
it_does_not_strip_multiple_occurrences ( WebHook $command )
it_does_not_strip_the_first_word_if_not_the_command ( WebHook $command )
it_does_the_repeater ( WebHook $command )
it_fails_to_set_an_invalid_matcher ( )
it_is_a_repeater_bot ( )
it_sets_and_gets_a_callable_matcher ( )
it_sets_and_gets_a_matcher ( NonMatcher $matcher )
it_strips_the_command_from_the_webhook_text ( WebHook $command )

Method Details

it_does_not_strip_multiple_occurrences() public method

public it_does_not_strip_multiple_occurrences ( WebHook $command )
$command Crummy\Phlack\WebHook\WebHook

it_does_not_strip_the_first_word_if_not_the_command() public method

public it_does_not_strip_the_first_word_if_not_the_command ( WebHook $command )
$command Crummy\Phlack\WebHook\WebHook

it_does_the_repeater() public method

public it_does_the_repeater ( WebHook $command )
$command Crummy\Phlack\WebHook\WebHook

it_fails_to_set_an_invalid_matcher() public method

it_is_a_repeater_bot() public method

it_sets_and_gets_a_callable_matcher() public method

it_sets_and_gets_a_matcher() public method

public it_sets_and_gets_a_matcher ( NonMatcher $matcher )
$matcher Crummy\Phlack\Common\Matcher\NonMatcher

it_strips_the_command_from_the_webhook_text() public method

public it_strips_the_command_from_the_webhook_text ( WebHook $command )
$command Crummy\Phlack\WebHook\WebHook