flattened routes, lots of paths and arg changes
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user