diff options
author | David Gay <david@davidgay.org> | 2021-05-19 22:53:38 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-19 22:53:38 -0400 |
commit | 9415011b5fd192f1bafeaa9b6eacbb7921382a00 (patch) | |
tree | f25d9d633237cae5d7b73166e6612a9b53312714 /test | |
parent | da678b22b5db05554b44234b341fabc9d83ff700 (diff) |
Chat
Diffstat (limited to 'test')
-rw-r--r-- | test/fixtures/chat_messages.yml | 7 | ||||
-rw-r--r-- | test/fixtures/chat_rooms.yml | 9 | ||||
-rw-r--r-- | test/models/chat_message_test.rb | 7 | ||||
-rw-r--r-- | test/models/chat_room_test.rb | 7 |
4 files changed, 30 insertions, 0 deletions
diff --git a/test/fixtures/chat_messages.yml b/test/fixtures/chat_messages.yml new file mode 100644 index 0000000..0ce7cf8 --- /dev/null +++ b/test/fixtures/chat_messages.yml @@ -0,0 +1,7 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + chat_room: one + +two: + chat_room: two diff --git a/test/fixtures/chat_rooms.yml b/test/fixtures/chat_rooms.yml new file mode 100644 index 0000000..8476a5b --- /dev/null +++ b/test/fixtures/chat_rooms.yml @@ -0,0 +1,9 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + name: MyString + permission_level: 1 + +two: + name: MyString + permission_level: 1 diff --git a/test/models/chat_message_test.rb b/test/models/chat_message_test.rb new file mode 100644 index 0000000..78428cf --- /dev/null +++ b/test/models/chat_message_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class ChatMessageTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/models/chat_room_test.rb b/test/models/chat_room_test.rb new file mode 100644 index 0000000..3451e5c --- /dev/null +++ b/test/models/chat_room_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class ChatRoomTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end |