Code cleanup.

This commit is contained in:
Martin Edenhofer 2017-04-25 00:16:04 +02:00
parent 82176fdcda
commit c53194b606

View file

@ -103,8 +103,8 @@ class ObjectCacheTest < ActiveSupport::TestCase
test 'group cache' do
name = 'object cache test ' + rand(9_999_999).to_s
group = Group.create(
name = "object cache test #{rand(9_999_999)}"
group = Group.create!(
name: name,
updated_by_id: 1,
created_by_id: 1,