Code Duplication    Length = 7-7 lines in 2 locations

tests/unit/ParagraphTextTest.php 2 locations

@@ 16-22 (lines=7) @@
13
	}
14
15
	/** @test */
16
	public function it_renders_a_default_value()
17
	{
18
		$form = $this->form();
19
		$form->paragraph_text('foo')->default('bar');
20
		$this->assertContains('<textarea name="foo"', $form->render());
21
		$this->assertContains('bar</textarea>', $form->render());
22
	}
23
24
	/** @test */
25
	public function it_renders_model_values()
@@ 47-53 (lines=7) @@
44
	}
45
46
	/** @test */
47
	public function it_escapes_value()
48
	{
49
		$form = $this->form();
50
		$form->paragraph_text('foo')->default('bar&');
51
		$this->assertContains('<textarea name="foo"', $form->render());
52
		$this->assertContains('bar&amp;</textarea>', $form->render());
53
	}	
54
55
	/** @test */
56
	public function it_provides_expected_values()