]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/messages.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / messages.rb
index 9d9c30a48f46c7fe3de0972c9b8875d9f151ba06..ece10ae72cb4d3ee1d7d2b3469c08980d1a53b65 100644 (file)
@@ -1,4 +1,4 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :message do
     sequence(:title) { |n| "Message #{n}" }
     sequence(:body) { |n| "Body text for message #{n}" }