diff options
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 |