Add LndHub db/models, and quick stats for admin views
This commit is contained in:
15
spec/components/quickstats_container_component_spec.rb
Normal file
15
spec/components/quickstats_container_component_spec.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "rails_helper"
|
||||
|
||||
RSpec.describe QuickstatsContainerComponent, type: :component do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
|
||||
# it "renders something useful" do
|
||||
# expect(
|
||||
# render_inline(described_class.new(attr: "value")) { "Hello, components!" }.css("p").to_html
|
||||
# ).to include(
|
||||
# "Hello, components!"
|
||||
# )
|
||||
# end
|
||||
end
|
||||
15
spec/components/quickstats_item_component_spec.rb
Normal file
15
spec/components/quickstats_item_component_spec.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "rails_helper"
|
||||
|
||||
RSpec.describe QuickstatsItemComponent, type: :component do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
|
||||
# it "renders something useful" do
|
||||
# expect(
|
||||
# render_inline(described_class.new(attr: "value")) { "Hello, components!" }.css("p").to_html
|
||||
# ).to include(
|
||||
# "Hello, components!"
|
||||
# )
|
||||
# end
|
||||
end
|
||||
Reference in New Issue
Block a user