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

Version Path
keppler-2.1.22 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.21 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.20 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.19 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.18 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.17 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.16 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.15 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.14 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.13 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.12 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.11 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.10 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.9 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.8 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.7 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.6 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.5 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.4 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.3 installer/core/test/controllers/users_controller_test.rb