X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=test%2Ffunctional%2Fproducts_controller_test.rb;h=935e491e1deec9567d6bbe837583a01587947dbf;hb=3ac66882338fa1c3f6d73ba68093b7fcfb399574;hp=18c523a119cd2ae11e8e767e804955c81b445bd7;hpb=e580d4626176c8deb6f44fec7e66f980b5923b29;p=depot.git

diff --git a/test/functional/products_controller_test.rb b/test/functional/products_controller_test.rb
index 18c523a..935e491 100644
--- a/test/functional/products_controller_test.rb
+++ b/test/functional/products_controller_test.rb
@@ -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