diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/fixtures/users.yml | 11 | ||||
| -rw-r--r-- | test/models/user_test.rb | 7 |
2 files changed, 18 insertions, 0 deletions
| diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml new file mode 100644 index 0000000..80aed36 --- /dev/null +++ b/test/fixtures/users.yml | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html | ||
| 2 | |||
| 3 | # This model initially had no columns defined. If you add columns to the | ||
| 4 | # model remove the '{}' from the fixture names and add the columns immediately | ||
| 5 | # below each fixture, per the syntax in the comments below | ||
| 6 | # | ||
| 7 | one: {} | ||
| 8 | # column: value | ||
| 9 | # | ||
| 10 | two: {} | ||
| 11 | # column: value | ||
| diff --git a/test/models/user_test.rb b/test/models/user_test.rb new file mode 100644 index 0000000..82f61e0 --- /dev/null +++ b/test/models/user_test.rb | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | require 'test_helper' | ||
| 2 | |||
| 3 | class UserTest < ActiveSupport::TestCase | ||
| 4 | # test "the truth" do | ||
| 5 | # assert true | ||
| 6 | # end | ||
| 7 | end | ||
