We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 776767c commit 848eda1Copy full SHA for 848eda1
spec/factories/news.rb
@@ -1,7 +1,7 @@
1
FactoryBot.define do
2
factory :news do
3
- title { "MyString" }
4
- url { "MyString" }
5
- published_at { "2025-06-30 13:06:11" }
+ sequence(:title) { |n| "Test News Article #{n}" }
+ sequence(:url) { |n| "https://news.coderdojo.jp/#{n}" }
+ published_at { 1.day.ago }
6
end
7
0 commit comments