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.2 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.1 installer/core/test/controllers/users_controller_test.rb
keppler-2.1.pre.p1 installer/core/test/controllers/users_controller_test.rb
keppler-2.1 installer/core/test/controllers/users_controller_test.rb
keppler-2.0.7 installer/core/test/controllers/users_controller_test.rb
keppler-2.0.6 installer/core/test/controllers/users_controller_test.rb
keppler-2.0.5 installer/core/test/controllers/users_controller_test.rb
keppler-2.0.4.p1 installer/core/test/controllers/users_controller_test.rb
keppler-2.0.4.pre.p1 installer/core/test/controllers/users_controller_test.rb
keppler-2.0.4 installer/core/test/controllers/users_controller_test.rb
keppler-2.0.3 installer/core/test/controllers/users_controller_test.rb
keppler-2.0.2 installer/core/test/controllers/users_controller_test.rb
keppler-2.0.1 installer/core/test/controllers/users_controller_test.rb
keppler-2.0.0 installer/core/test/controllers/users_controller_test.rb