public
Description: My mirror of phpspec
Homepage: http://www.phpspec.org/
Clone URL: git://github.com/tedkulp/phpspec.git
* fixed typo.


git-svn-id: http://phpspec.googlecode.com/svn/trunk@185 
d6e91ea2-e33a-0410-98df-1d493bd67c58
matakagi (author)
Thu Jan 10 06:33:42 -0800 2008
commit  34fb2884e0d75f581226998b41f898387779bbec
tree    2f76c142c9289f48b5ffa4a2801720da70b61ac4
parent  37b35a200922e4d871f6b78ee7ff1df065b78604
...
632
633
634
635
 
636
637
638
639
640
641
 
642
643
644
...
657
658
659
660
661
 
...
632
633
634
 
635
636
637
638
639
640
 
641
642
643
644
...
657
658
659
 
660
661
0
@@ -632,13 +632,13 @@ class DescribeFlea extends PHPSpec_Context {
0
 
0
     public function itShouldBeAnInsect()
0
     {
0
- $flee = new Flea;
0
+ $flea = new Flea;
0
         $this->spec($flea)->should->beAnInsect(); // Flea::isInsect() == TRUE
0
     }
0
 
0
     public function itShouldHaveNoWings()
0
     {
0
- $flee = new Flea;
0
+ $flea = new Flea;
0
         $this->spec($flea)->shouldNot->haveWings(); // Flea::hasWings() == FALSE
0
     }
0
 }</programlisting>
0
@@ -657,4 +657,4 @@ class DescribeFlea extends PHPSpec_Context {
0
       </section>
0
     </section>
0
   </section>
0
-</chapter>
0
\ No newline at end of file
0
+</chapter>
...
740
741
742
743
 
744
745
746
747
748
749
 
750
751
752
...
740
741
742
 
743
744
745
746
747
748
 
749
750
751
752
0
@@ -740,13 +740,13 @@ class DescribeFlea extends PHPSpec_Context {
0
 
0
     public function itShouldBeAnInsect()
0
     {
0
- $flee = new Flea;
0
+ $flea = new Flea;
0
         $this-&gt;spec($flea)-&gt;should-&gt;beAnInsect(); // Flea::isInsect() == TRUE
0
     }
0
 
0
     public function itShouldHaveNoWings()
0
     {
0
- $flee = new Flea;
0
+ $flea = new Flea;
0
         $this-&gt;spec($flea)-&gt;shouldNot-&gt;haveWings(); // Flea::hasWings() == FALSE
0
     }
0
 }</programlisting>

Comments

    No one has commented yet.