We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88fd12d commit 5997829Copy full SHA for 5997829
app/models/dump.rb
@@ -0,0 +1,3 @@
1
+class Dump < ApplicationRecord
2
+ has_one_attached :file
3
+end
test/fixtures/dumps.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+# 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
test/models/dump_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+class DumpTest < ActiveSupport::TestCase
+ # test "the truth" do
+ # assert true
+ # end
0 commit comments