Merge branch 'master' of github.com:JoN1oP/namp2

This commit is contained in:
marco
2015-07-30 22:01:03 +02:00
20 changed files with 239 additions and 129 deletions

View File

@@ -40,8 +40,10 @@ class FormRendererCest {
// tests
public function itCanRenderAForm(){
$html = \MailPoet\Form\Renderer::render($this->form_data);
expect($html)->contains('Email');
expect($html)->contains('Subscribe!');
// we need an email field
expect($html)->contains('name="email"');
// we need a submit button
expect($html)->contains('type="submit"');
}
public function itCanRenderAFormStyles(){