Sha256: 5a9c720396b67f08382446dff1e17591081332cf6b7daf764737d1e8d1a41470

Contents?: true

Size: 1.23 KB

Versions: 8

Compression:

Stored size: 1.23 KB

Contents

require 'test_helper'

class PublicKeysControllerTest < ActionController::TestCase
  # setup do
  #   @public_key = public_keys(:one)
  # end

  # test "should get index" do
  #   get :index
  #   assert_response :success
  #   assert_not_nil assigns(:public_keys)
  # end

  # test "should get new" do
  #   get :new
  #   assert_response :success
  # end

  # test "should create public_key" do
  #   assert_difference('PublicKey.count') do
  #     post :create, public_key: { comment: @public_key.comment, content: @public_key.content }
  #   end

  #   assert_redirected_to public_key_path(assigns(:public_key))
  # end

  # test "should show public_key" do
  #   get :show, id: @public_key
  #   assert_response :success
  # end

  # test "should get edit" do
  #   get :edit, id: @public_key
  #   assert_response :success
  # end

  # test "should update public_key" do
  #   put :update, id: @public_key, public_key: { comment: @public_key.comment, content: @public_key.content }
  #   assert_redirected_to public_key_path(assigns(:public_key))
  # end

  # test "should destroy public_key" do
  #   assert_difference('PublicKey.count', -1) do
  #     delete :destroy, id: @public_key
  #   end

  #   assert_redirected_to public_keys_path
  # end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
git_wit-0.0.6 test/dummy/test/functional/public_keys_controller_test.rb
git_wit-0.0.6.pre test/dummy/test/functional/public_keys_controller_test.rb
git_wit-0.0.5 test/dummy/test/functional/public_keys_controller_test.rb
git_wit-0.0.4.pre2 test/dummy/test/functional/public_keys_controller_test.rb
git_wit-0.0.4.pre test/dummy/test/functional/public_keys_controller_test.rb
git_wit-0.0.3 test/dummy/test/functional/public_keys_controller_test.rb
git_wit-0.0.2 test/dummy/test/functional/public_keys_controller_test.rb
git_wit-0.0.1 test/dummy/test/functional/public_keys_controller_test.rb