Sha256: bd841b7291c8b5b31597462978f8afcf609864077f049d3337e84df2c29973ca
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
require 'test_helper' class TeleconsultoriasControllerTest < ActionController::TestCase setup do @teleconsultoria = teleconsultorias(:one) end test "should get index" do get :index assert_response :success assert_not_nil assigns(:teleconsultorias) end test "should get new" do get :new assert_response :success end test "should create teleconsultoria" do assert_difference('Teleconsultoria.count') do post :create, teleconsultoria: @teleconsultoria.attributes end assert_redirected_to teleconsultoria_path(assigns(:teleconsultoria)) end test "should show teleconsultoria" do get :show, id: @teleconsultoria assert_response :success end test "should get edit" do get :edit, id: @teleconsultoria assert_response :success end test "should update teleconsultoria" do put :update, id: @teleconsultoria, teleconsultoria: @teleconsultoria.attributes assert_redirected_to teleconsultoria_path(assigns(:teleconsultoria)) end test "should destroy teleconsultoria" do assert_difference('Teleconsultoria.count', -1) do delete :destroy, id: @teleconsultoria end assert_redirected_to teleconsultorias_path end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-sabia-1.0.1 | test/functional/teleconsultorias_controller_test.rb |