mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 10:38:50 +01:00
Add presence and uniqueness validations for problem
This commit is contained in:
8
test/fixtures/problems.yml
vendored
8
test/fixtures/problems.yml
vendored
@@ -1,9 +1,9 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
title: MyString
|
||||
content: MyText
|
||||
title: First title
|
||||
content: The content of the problem
|
||||
|
||||
two:
|
||||
title: MyString
|
||||
content: MyText
|
||||
title: Second title
|
||||
content: The content of the second problem
|
||||
|
||||
Reference in New Issue
Block a user