projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
11185: Merge branch 'master' into 11185-wb-disable-reuse
[arvados.git]
/
apps
/
workbench
/
test
/
unit
/
user_test.rb
1
require 'test_helper'
2
3
class UserTest < ActiveSupport::TestCase
4
test "can select specific user columns" do
5
use_token :admin
6
User.select(["uuid", "is_active"]).limit(5).each do |user|
7
assert_not_nil user.uuid
8
assert_not_nil user.is_active
9
assert_nil user.first_name
10
end
11
end
12
end