Sha256: b38741ace4c85fb212bc5ac0031b1d06c131b119eed08e2c749ff65bb7088cb1
Contents?: true
Size: 502 Bytes
Versions: 34
Compression:
Stored size: 502 Bytes
Contents
require 'test_helper' class UsersControllerTest < ActionController::TestCase test "should get index" do sign_in users(:admin) get :index assert_not_includes assigns(:users), users(:admin), "ERROR, no debe venir current_user en la colección" assert_response :success end test "should refresh user list" do sign_in users(:admin) get :refresh assert_not_includes assigns(:users), users(:admin), "ERROR, no debe venir current_user en la colección" assert_response :success end end
Version data entries
34 entries across 34 versions & 1 rubygems