]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/changesets.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / changesets.rb
index 01d3571981e5db09cd77b1ce71ff3af9cf42030b..f42242e786a1c343e611e2411148ccd530fc0097 100644 (file)
@@ -1,4 +1,4 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :changeset do
     created_at Time.now.utc
     closed_at Time.now.utc + 1.day