Functional tests now work properly, bearing in mind whether a user is logged in or...
[depot.git] / db / migrate / 20090202163608_add_test_data.rb
index 5b79b4f3312214bfcc0df4d26ca21e050cf3c2bb..4ccb3c0e488dad5c6af39051a9522b4c8b9db4a4 100644 (file)
@@ -4,26 +4,23 @@ class AddTestData < ActiveRecord::Migration
 
     Product.create(:title => 'Snowball',
       :description => 
 
     Product.create(:title => 'Snowball',
       :description => 
-        %{<p>
-            The perfect gift for a hot summer's day.  What could be better 
+        %{<p>The perfect gift for a hot summer's day.  What could be better 
             than to surprise a loved one a gift of winter coolness?  This
             snowball has been loving crafted from the purest snow, hand-collected
             from the pristine lawn of our back garden.  
           </p>
             than to surprise a loved one a gift of winter coolness?  This
             snowball has been loving crafted from the purest snow, hand-collected
             from the pristine lawn of our back garden.  
           </p>
-          <p>
-            Note that this is a perisiable item and some melting may occur 
+          <p>Note that this is a perishable item and some melting may occur 
             while the snowball is in transit. 
           </p>
         },
         :image_url => '/images/snowball.jpg',
             while the snowball is in transit. 
           </p>
         },
         :image_url => '/images/snowball.jpg',
-        :price => 12.00,
+        :price => 11.99,
         :date_available => Time.utc(2008, 12, 31)
     )
     
     Product.create(:title => 'Daisy',
       :description => 
         :date_available => Time.utc(2008, 12, 31)
     )
     
     Product.create(:title => 'Daisy',
       :description => 
-        %{<p>
-            All the world is better for having flowers in it.  And your home 
+        %{<p>All the world is better for having flowers in it.  And your home 
             will be the better for having this fine example of <i>Bellis 
             perennis</i> gracing its walls.  The range of uses of this item are
             truly remarkable.  You can place it in an eggcup of water, you can 
             will be the better for having this fine example of <i>Bellis 
             perennis</i> gracing its walls.  The range of uses of this item are
             truly remarkable.  You can place it in an eggcup of water, you can 
@@ -32,14 +29,14 @@ class AddTestData < ActiveRecord::Migration
           </p>
         },
       :image_url => '/images/daisy.gif',
           </p>
         },
       :image_url => '/images/daisy.gif',
-      :price => 5.00,
+      :price => 4.99,
       :date_available => Time.utc(2011, 7, 1)
       )
       
     Product.create(:title => 'Cardboard Box',
       :description =>
         %{<p>The gift that keeps on giving, you'll wonder how you ever did 
       :date_available => Time.utc(2011, 7, 1)
       )
       
     Product.create(:title => 'Cardboard Box',
       :description =>
         %{<p>The gift that keeps on giving, you'll wonder how you ever did 
-            without a cardboard box in your home.  Us it for a range of uses, 
+            without a cardboard box in your home.  Use it for a range of uses, 
             including putting things in and keeping things in.  We can provide
             you with a cardboard box that is versatile and suitable for any
             occasion.  Some of our directors even use them for sleeping in!
             including putting things in and keeping things in.  We can provide
             you with a cardboard box that is versatile and suitable for any
             occasion.  Some of our directors even use them for sleeping in!
@@ -50,7 +47,7 @@ class AddTestData < ActiveRecord::Migration
       :date_available => Time.utc(2007, 1, 1)
       )
 
       :date_available => Time.utc(2007, 1, 1)
       )
 
-    Product.create(:title => 'Air',
+    Product.create(:title => 'Air in a Can',
       :description =>
         %{<p>An essential for all activities, <i>Air</i> is vital for your
             wellbeing and vitality.  Our air is carefully packaged to contain
       :description =>
         %{<p>An essential for all activities, <i>Air</i> is vital for your
             wellbeing and vitality.  Our air is carefully packaged to contain
@@ -60,7 +57,7 @@ class AddTestData < ActiveRecord::Migration
           </p>
         },
       :image_url => '/images/can-of-air.jpg',
           </p>
         },
       :image_url => '/images/can-of-air.jpg',
-      :price => 5000.00,
+      :price => 4999.95,
       :date_available => Time.utc(2009, 1, 1)
       )
   end
       :date_available => Time.utc(2009, 1, 1)
       )
   end