Moved to Netbeans 6.5. Started order creation
[depot.git] / test / functional / products_controller_test.rb
index 18c523a119cd2ae11e8e767e804955c81b445bd7..935e491e1deec9567d6bbe837583a01587947dbf 100644 (file)
@@ -1,18 +1,18 @@
 require 'test_helper'
 
 class ProductsControllerTest < ActionController::TestCase
-  def test_should_get_index
+  test "should get index" do
     get :index
     assert_response :success
     assert_not_nil assigns(:products)
   end
 
-  def test_should_get_new
+  test "should get new" do
     get :new
     assert_response :success
   end
 
-  def test_should_create_product
+  test "should create product" do
     assert_difference('Product.count') do
       post :create, :product => { }
     end
@@ -20,22 +20,22 @@ class ProductsControllerTest < ActionController::TestCase
     assert_redirected_to product_path(assigns(:product))
   end
 
-  def test_should_show_product
+  test "should show product" do
     get :show, :id => products(:one).id
     assert_response :success
   end
 
-  def test_should_get_edit
+  test "should get edit" do
     get :edit, :id => products(:one).id
     assert_response :success
   end
 
-  def test_should_update_product
+  test "should update product" do
     put :update, :id => products(:one).id, :product => { }
     assert_redirected_to product_path(assigns(:product))
   end
 
-  def test_should_destroy_product
+  test "should destroy product" do
     assert_difference('Product.count', -1) do
       delete :destroy, :id => products(:one).id
     end