about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-03-20 11:00:31 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-03-20 11:00:31 -0400
commit5462a1e56abf70486dc59593dde6ecb95a072026 (patch)
tree3e956e0ca3bfbf773af3a9dd303cb4743615fe67 /test
parent2e1365d37bddf787c7089126c1a5ff1c623ab0e2 (diff)
downloadthoughts-5462a1e56abf70486dc59593dde6ecb95a072026.tar.gz
thoughts-5462a1e56abf70486dc59593dde6ecb95a072026.tar.bz2
thoughts-5462a1e56abf70486dc59593dde6ecb95a072026.zip
Added some admin dashboard stats
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/globals.yml11
-rw-r--r--test/models/global_test.rb7
2 files changed, 18 insertions, 0 deletions
diff --git a/test/fixtures/globals.yml b/test/fixtures/globals.yml new file mode 100644 index 0000000..bb636b7 --- /dev/null +++ b/test/fixtures/globals.yml
@@ -0,0 +1,11 @@
1# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
3one:
4 key: MyString
5 string_value: MyString
6 int_value: 1
7
8two:
9 key: MyString
10 string_value: MyString
11 int_value: 1
diff --git a/test/models/global_test.rb b/test/models/global_test.rb new file mode 100644 index 0000000..2e42136 --- /dev/null +++ b/test/models/global_test.rb
@@ -0,0 +1,7 @@
1require "test_helper"
2
3class GlobalTest < ActiveSupport::TestCase
4 # test "the truth" do
5 # assert true
6 # end
7end