@@ -3,7 +3,7 @@ FactoryGirl.define do
 
   factory :api_token do
     access_token
-    step
+    step { create(:approval_step) }
     expires_at { Time.current + 7.days }
   end
 end
FactoryGirl.define do
  sequence(:access_token) { |n| "123ABC#{n}" }

  factory :api_token do
    access_token
    step
    expires_at { Time.current + 7.days }
  end
end

this is the actual fix?