diff options
Diffstat (limited to 'test/controllers')
-rw-r--r-- | test/controllers/servers_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/controllers/servers_controller_test.rb b/test/controllers/servers_controller_test.rb index 5891bb0..3a01d56 100644 --- a/test/controllers/servers_controller_test.rb +++ b/test/controllers/servers_controller_test.rb @@ -18,7 +18,7 @@ class ServersControllerTest < ActionController::TestCase test "should create server" do assert_difference('Server.count') do - post :create, server: { } + post :create, server: { default_user_permissions: @server.default_user_permissions } end assert_redirected_to server_path(assigns(:server)) @@ -35,7 +35,7 @@ class ServersControllerTest < ActionController::TestCase end test "should update server" do - patch :update, id: @server, server: { } + patch :update, id: @server, server: { default_user_permissions: @server.default_user_permissions } assert_redirected_to server_path(assigns(:server)) end |