From 3622126380278d9bed8ea0e1e05a0bd1ea040596 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 6 Jun 2021 17:57:43 -0400 Subject: Messages --- test/fixtures/messages.yml | 13 +++++++++++++ test/models/message_test.rb | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 test/fixtures/messages.yml create mode 100644 test/models/message_test.rb (limited to 'test') diff --git a/test/fixtures/messages.yml b/test/fixtures/messages.yml new file mode 100644 index 0000000..f869a42 --- /dev/null +++ b/test/fixtures/messages.yml @@ -0,0 +1,13 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + sender: one + recipient: one + subject: MyString + body: MyText + +two: + sender: two + recipient: two + subject: MyString + body: MyText diff --git a/test/models/message_test.rb b/test/models/message_test.rb new file mode 100644 index 0000000..0e0d35b --- /dev/null +++ b/test/models/message_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class MessageTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end -- cgit v1.2.3