Revision abd8f1d1
Added by Daniel Lobato Garcia over 9 years ago
test/unit/location_test.rb | ||
---|---|---|
require 'test_helper'
|
||
|
||
class LocationTest < ActiveSupport::TestCase
|
||
|
||
setup do
|
||
User.current = users :admin
|
||
end
|
||
... | ... | |
assert_equal [loc1.id, loc2.id].sort, Location.my_locations.pluck(:id).sort
|
||
end
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
Refs #3809 - Remove cops for empty lines