It's to_sym not to_symbol
[rails.git] / test / factories / diary_entries.rb
1 FactoryBot.define do
2   factory :diary_entry do
3     sequence(:title) { |n| "Diary entry #{n}" }
4     sequence(:body) { |n| "This is diary entry #{n}" }
5
6     user
7   end
8 end