]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/traces.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / traces.rb
index 76fd90590e6cbb782ffd9f55df0fe183b31475ea..efc1180cdbe7afc2c3a5c5b63f7edda94c1caec8 100644 (file)
@@ -1,4 +1,4 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :trace do
     sequence(:name) { |n| "Trace #{n}.gpx" }
     sequence(:description) { |n| "This is trace #{n}" }
   factory :trace do
     sequence(:name) { |n| "Trace #{n}.gpx" }
     sequence(:description) { |n| "This is trace #{n}" }