diff options
| author | Teddy Wing | 2015-01-23 20:54:48 -0500 | 
|---|---|---|
| committer | Teddy Wing | 2015-01-23 20:54:48 -0500 | 
| commit | 4432d0b7d1d2ee43258c6147f0881af923d07312 (patch) | |
| tree | 2776273da20b726e008556816c40a00f1d1e28c8 /test | |
| parent | d7d88ccd11cda59619fea44e14997ed21b5f9a4e (diff) | |
| parent | 3ea39ca725e28f83fbea4a6ebaa037697cb8dde9 (diff) | |
| download | Notes-angular-demo-4432d0b7d1d2ee43258c6147f0881af923d07312.tar.bz2 | |
Merge branch 'create-api-endpoints'
Diffstat (limited to 'test')
| -rw-r--r-- | test/controllers/notes_controller_test.rb | 7 | ||||
| -rw-r--r-- | test/fixtures/notes.yml | 9 | ||||
| -rw-r--r-- | test/models/note_test.rb | 7 | 
3 files changed, 23 insertions, 0 deletions
| diff --git a/test/controllers/notes_controller_test.rb b/test/controllers/notes_controller_test.rb new file mode 100644 index 0000000..2a3800c --- /dev/null +++ b/test/controllers/notes_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class NotesControllerTest < ActionController::TestCase +  # test "the truth" do +  #   assert true +  # end +end diff --git a/test/fixtures/notes.yml b/test/fixtures/notes.yml new file mode 100644 index 0000000..e192dee --- /dev/null +++ b/test/fixtures/notes.yml @@ -0,0 +1,9 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: +  title: MyString +  body: MyText + +two: +  title: MyString +  body: MyText diff --git a/test/models/note_test.rb b/test/models/note_test.rb new file mode 100644 index 0000000..7bbab53 --- /dev/null +++ b/test/models/note_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class NoteTest < ActiveSupport::TestCase +  # test "the truth" do +  #   assert true +  # end +end | 
