feat: implement basic fairy tracker

This commit is contained in:
insects 2025-03-11 17:47:32 +01:00
parent 1e46ad269e
commit 8109bacb0d
27 changed files with 290 additions and 7 deletions

View file

@ -0,0 +1,23 @@
require "test_helper"
class FairyControllerTest < ActionDispatch::IntegrationTest
test "should get mark" do
get fairy_mark_url
assert_response :success
end
test "should get suggest" do
get fairy_suggest_url
assert_response :success
end
test "should get unmark" do
get fairy_unmark_url
assert_response :success
end
test "should get despawn" do
get fairy_despawn_url
assert_response :success
end
end

11
test/fixtures/fairies.yml vendored Normal file
View file

@ -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
# model remove the "{}" from the fixture names and add the columns immediately
# below each fixture, per the syntax in the comments below
#
one: {}
# column: value
#
two: {}
# column: value

View file

@ -0,0 +1,7 @@
require "test_helper"
class FairyTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end