diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-05 21:00:52 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-05 21:00:52 +0100 |
commit | e76890d5f4634d47514a592d501d9792ae2ff7bb (patch) | |
tree | 0d257877fa5e5ba295affefd8fe76d3d3954996e /test/functional/gs_parameters_controller_test.rb | |
parent | 4b8dfcded36e1162346ee029d4bfc9c94323bdde (diff) |
Different scaffold for GsParameter.
Diffstat (limited to 'test/functional/gs_parameters_controller_test.rb')
-rw-r--r-- | test/functional/gs_parameters_controller_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/gs_parameters_controller_test.rb b/test/functional/gs_parameters_controller_test.rb index 2436a69..a0e498a 100644 --- a/test/functional/gs_parameters_controller_test.rb +++ b/test/functional/gs_parameters_controller_test.rb @@ -25,23 +25,23 @@ class GsParametersControllerTest < ActionController::TestCase end test "should show gs_parameter" do - get :show, id: @gs_parameter + get :show, id: @gs_parameter.to_param assert_response :success end test "should get edit" do - get :edit, id: @gs_parameter + get :edit, id: @gs_parameter.to_param assert_response :success end test "should update gs_parameter" do - put :update, id: @gs_parameter, gs_parameter: @gs_parameter.attributes + put :update, id: @gs_parameter.to_param, gs_parameter: @gs_parameter.attributes assert_redirected_to gs_parameter_path(assigns(:gs_parameter)) end test "should destroy gs_parameter" do assert_difference('GsParameter.count', -1) do - delete :destroy, id: @gs_parameter + delete :destroy, id: @gs_parameter.to_param end assert_redirected_to gs_parameters_path |