feat: implement basic info display for anemos
This commit is contained in:
parent
06a12df43f
commit
ce5d327ca2
34 changed files with 582 additions and 88 deletions
13
test/controllers/instance_controller_test.rb
Normal file
13
test/controllers/instance_controller_test.rb
Normal 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
|
8
test/controllers/page_controller_test.rb
Normal file
8
test/controllers/page_controller_test.rb
Normal 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
11
test/fixtures/instances.yml
vendored
Normal 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
|
7
test/models/instance_test.rb
Normal file
7
test/models/instance_test.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
require "test_helper"
|
||||
|
||||
class InstanceTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue