Merge pull request #3831 from consul/fix_action_title
Fix random title with trailing spaces
This commit is contained in:
@@ -132,7 +132,7 @@ FactoryBot.define do
|
||||
end
|
||||
|
||||
factory :dashboard_action, class: "Dashboard::Action" do
|
||||
title { Faker::Lorem.sentence[0..79] }
|
||||
title { Faker::Lorem.sentence[0..79].strip }
|
||||
description { Faker::Lorem.sentence }
|
||||
link { nil }
|
||||
request_to_administrators { true }
|
||||
|
||||
Reference in New Issue
Block a user