Merge pull request #3831 from consul/fix_action_title

Fix random title with trailing spaces
This commit is contained in:
Javier Martín
2019-11-08 18:41:18 +01:00
committed by GitHub

View File

@@ -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 }