Sha256: 94655b60b4203556a3460e560a82a389ff7513a185f640450b44c4119a2f5a9b

Contents?: true

Size: 1.44 KB

Versions: 13

Compression:

Stored size: 1.44 KB

Contents

# require 'test_helper'
# 
# module Kaui
#   class AccountEmailsControllerTest < ActionController::TestCase
#     setup do
#       @account_email = account_emails(:one)
#     end
#   
#     test "should get index" do
#       get :index
#       assert_response :success
#       assert_not_nil assigns(:account_emails)
#     end
#   
#     test "should get new" do
#       get :new
#       assert_response :success
#     end
#   
#     test "should create account_email" do
#       assert_difference('AccountEmail.count') do
#         post :create, account_email: { accountId: @account_email.accountId, email: @account_email.email }
#       end
#   
#       assert_redirected_to account_email_path(assigns(:account_email))
#     end
#   
#     test "should show account_email" do
#       get :show, id: @account_email
#       assert_response :success
#     end
#   
#     test "should get edit" do
#       get :edit, id: @account_email
#       assert_response :success
#     end
#   
#     test "should update account_email" do
#       put :update, id: @account_email, account_email: { accountId: @account_email.accountId, email: @account_email.email }
#       assert_redirected_to account_email_path(assigns(:account_email))
#     end
#   
#     test "should destroy account_email" do
#       assert_difference('AccountEmail.count', -1) do
#         delete :destroy, id: @account_email
#       end
#   
#       assert_redirected_to account_emails_path
#     end
#   end
# end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
kaui-0.1.18 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.16 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.15 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.14 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.12 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.11 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.10 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.9 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.7 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.6 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.5 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.4 test/functional/kaui/account_emails_controller_test.rb
kaui-0.1.3 test/functional/kaui/account_emails_controller_test.rb