feat: implement basic info display for anemos

This commit is contained in:
insects 2025-03-10 22:25:45 +01:00
parent 06a12df43f
commit ce5d327ca2
34 changed files with 582 additions and 88 deletions

View file

@ -0,0 +1,13 @@
require "test_helper"
class InstanceControllerTest < ActionDispatch::IntegrationTest
test "should get create" do
get instance_create_url
assert_response :success
end
test "should get show" do
get instance_show_url
assert_response :success
end
end

View file

@ -0,0 +1,8 @@
require "test_helper"
class PageControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get page_index_url
assert_response :success
end
end

11
test/fixtures/instances.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 InstanceTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end