diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 12:30:31 -0400 | 
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 12:30:31 -0400 | 
| commit | 7e2e42379cb40a500eb8a236c05788eb3e84d141 (patch) | |
| tree | 784dfe04f81b034889b96b5c251923da7e6f3a1e /test | |
| parent | 275218aeaf24d4f9d58589cf68ec6647f0a65050 (diff) | |
| download | thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.gz thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.bz2 thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.zip | |
Added logging in and logging out
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 | ||
