summaryrefslogtreecommitdiff
path: root/test/controllers
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-06 13:19:20 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-06 13:19:20 -0400
commit82840d22116835474614b80ebe72c282bcfc5f5e (patch)
treeea24c3648274c664ba014f28356ae353d049b643 /test/controllers
parent0d42079611ed2aeacd71b926580fdc3b943cf1ba (diff)
parentd2e4f58410c20f5e7b9e8e0dde3fd55d201af4bb (diff)
Merge branch 'clean2'
Conflicts: app/views/servers/show.html.erb
Diffstat (limited to 'test/controllers')
-rw-r--r--test/controllers/servers_controller_test.rb4
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