diff options
| author | realtradam <[email protected]> | 2024-05-15 00:44:53 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-05-15 00:44:53 -0400 |
| commit | d2ad5924bce17e3b07ee0af86a8739559dac3b35 (patch) | |
| tree | 4d7e4384d15e0617a4b380149c29ffaccbca69fa /test | |
| parent | a97531e77e9e3f0e391b2504fcb278cabc2b901e (diff) | |
| download | gameHolster-d2ad5924bce17e3b07ee0af86a8739559dac3b35.tar.gz gameHolster-d2ad5924bce17e3b07ee0af86a8739559dac3b35.zip | |
begin implementing game file upload and also styling
Diffstat (limited to 'test')
| -rw-r--r-- | test/controllers/api/v1/games_controller_test.rb | 7 | ||||
| -rw-r--r-- | test/fixtures/games.yml | 13 | ||||
| -rw-r--r-- | test/models/game_test.rb | 7 |
3 files changed, 27 insertions, 0 deletions
diff --git a/test/controllers/api/v1/games_controller_test.rb b/test/controllers/api/v1/games_controller_test.rb new file mode 100644 index 0000000..0052dbb --- /dev/null +++ b/test/controllers/api/v1/games_controller_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class Api::V1::GamesControllerTest < ActionDispatch::IntegrationTest + # test "the truth" do + # assert true + # end +end diff --git a/test/fixtures/games.yml b/test/fixtures/games.yml new file mode 100644 index 0000000..ba6c0d7 --- /dev/null +++ b/test/fixtures/games.yml @@ -0,0 +1,13 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + title: MyString + body: MyText + status: 1 + user: one + +two: + title: MyString + body: MyText + status: 1 + user: two diff --git a/test/models/game_test.rb b/test/models/game_test.rb new file mode 100644 index 0000000..6628fae --- /dev/null +++ b/test/models/game_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class GameTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end |
