From b43bab15521c7c511ab7012bd137daa0e85bb95b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 4 Apr 2014 21:06:05 -0400 Subject: run generate.sh --- .../remote_usernames_controller_test.rb | 49 ---------------------- test/fixtures/game_settings.yml | 4 +- test/fixtures/remote_usernames.yml | 4 +- test/helpers/remote_usernames_helper_test.rb | 4 -- 4 files changed, 4 insertions(+), 57 deletions(-) delete mode 100644 test/controllers/remote_usernames_controller_test.rb delete mode 100644 test/helpers/remote_usernames_helper_test.rb (limited to 'test') diff --git a/test/controllers/remote_usernames_controller_test.rb b/test/controllers/remote_usernames_controller_test.rb deleted file mode 100644 index ff6a91d..0000000 --- a/test/controllers/remote_usernames_controller_test.rb +++ /dev/null @@ -1,49 +0,0 @@ -require 'test_helper' - -class RemoteUsernamesControllerTest < ActionController::TestCase - setup do - @remote_username = remote_usernames(:one) - end - - test "should get index" do - get :index - assert_response :success - assert_not_nil assigns(:remote_usernames) - end - - test "should get new" do - get :new - assert_response :success - end - - test "should create remote_username" do - assert_difference('RemoteUsername.count') do - post :create, remote_username: { game_id: @remote_username.game_id, user_id: @remote_username.user_id, user_name: @remote_username.user_name } - end - - assert_redirected_to remote_username_path(assigns(:remote_username)) - end - - test "should show remote_username" do - get :show, id: @remote_username - assert_response :success - end - - test "should get edit" do - get :edit, id: @remote_username - assert_response :success - end - - test "should update remote_username" do - patch :update, id: @remote_username, remote_username: { game_id: @remote_username.game_id, user_id: @remote_username.user_id, user_name: @remote_username.user_name } - assert_redirected_to remote_username_path(assigns(:remote_username)) - end - - test "should destroy remote_username" do - assert_difference('RemoteUsername.count', -1) do - delete :destroy, id: @remote_username - end - - assert_redirected_to remote_usernames_path - end -end diff --git a/test/fixtures/game_settings.yml b/test/fixtures/game_settings.yml index 5626c97..7497d02 100644 --- a/test/fixtures/game_settings.yml +++ b/test/fixtures/game_settings.yml @@ -5,7 +5,7 @@ one: type: 1 name: MyString default: MyText - discription: MyText + description: MyText type_opt: MyText display_order: 1 @@ -14,6 +14,6 @@ two: type: 1 name: MyString default: MyText - discription: MyText + description: MyText type_opt: MyText display_order: 1 diff --git a/test/fixtures/remote_usernames.yml b/test/fixtures/remote_usernames.yml index 0b3055a..baa1714 100644 --- a/test/fixtures/remote_usernames.yml +++ b/test/fixtures/remote_usernames.yml @@ -3,9 +3,9 @@ one: game_id: user_id: - user_name: MyString + json_value: MyText two: game_id: user_id: - user_name: MyString + json_value: MyText diff --git a/test/helpers/remote_usernames_helper_test.rb b/test/helpers/remote_usernames_helper_test.rb deleted file mode 100644 index 1c9a795..0000000 --- a/test/helpers/remote_usernames_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class RemoteUsernamesHelperTest < ActionView::TestCase -end -- cgit v1.2.3-2-g168b