flattened routes, lots of paths and arg changes

This commit is contained in:
2022-11-30 16:22:11 +02:00
parent 1d91ff2fc6
commit df5713e6fe
31 changed files with 121 additions and 104 deletions

View File

@ -10,5 +10,8 @@ module Merged
it "has cards" do
expect(first.class).to be Card
end
it "has index" do
expect(first.index).to eq 0
end
end
end

View File

@ -13,5 +13,8 @@ module Merged
it "has sections" do
expect(index.sections.length).to be 1
end
it "has section array" do
expect(index.sections.class).to be Array
end
end
end

View File

@ -10,8 +10,14 @@ module Merged
it "has index page" do
expect(first.class).to be Section
end
it "has sections" do
expect(first.cards.length).to be 2
it "has index" do
expect(first.index).to eq 0
end
it "has cards" do
expect(first.cards.length).to eq 2
end
it "has cards array" do
expect(first.cards.class).to be Array
end
end
end