seiten 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83d788eadd214b82c9e91e8da1a0d72d050a7d1bb46c635db58aefffd5f48712
4
- data.tar.gz: 469118c143991e25fcb35e5f5e8d55e58a6255a412e5d5cc40aad031e99f8ff1
3
+ metadata.gz: 6ca1b6ad9f5f4c830d23928eccc0ca333069d8f88412022725c495e9315b6ea4
4
+ data.tar.gz: 7ad22ccd05fa7571b4c6e858cfdf03eb9e9ecfdd8da2440e0ce4d1413e32c7cc
5
5
  SHA512:
6
- metadata.gz: 6e1a3a500817fed2ee4f2a9498f8369f0b721e7cc3ce34c4982578cc397f972bb783fa5b964fd9dcce40f0da64954903ac8f77d4fe1b2bb0120bddc9514f90ba
7
- data.tar.gz: da0aeed08ad91cee1183e7a3266f213d047d84a1ebf0ac0c99f240504865ad31f38709e1e6d72ef0be5c37a3952b5df94dd68359b36a5a1051703742580c3897
6
+ metadata.gz: cc3ea9c6fed75f3887f5d6827aeca2ca06359d12c389dcecc2dcdea78dba87840a328c399e02a27430a46bde3ba96b320e1717712fac0169e8a46ee45adf9138
7
+ data.tar.gz: da5ae1af8ed70e7fa3b955cb2868324345c5f2aec0245de4b484135d0dcb6886002ffbb486f2281bba185e20619e31bd5375b5b5d2ccf3dde18bd821b0af8f96
@@ -27,7 +27,7 @@ module Seiten
27
27
  # Set refer
28
28
  if page["refer"]
29
29
  if page["refer"].is_a?(TrueClass)
30
- page["refer"] = "/" + Seiten::SlugBuilder.call(page["nodes"].first, page["slug"])
30
+ page["refer"] = "/" + Seiten::SlugBuilder.call(page["nodes"].first, slug)
31
31
  end
32
32
  raise Errors::PageError, "The `refer` option must be `true` or an absolute or external path" if page["refer"] != true && page["refer"][0] != "/" && !(page["refer"].match(/^https?:\/\/.+/))
33
33
  else
@@ -1,3 +1,3 @@
1
1
  module Seiten
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -43831,3 +43831,1053 @@ Processing by Seiten::PagesController#show as HTML
43831
43831
  Rendered app/pages/help/en/logging-in.html.erb within layouts/application (Duration: 0.2ms | Allocations: 67)
43832
43832
  Rendered layout layouts/application.html.erb (Duration: 2.1ms | Allocations: 3814)
43833
43833
  Completed 200 OK in 3ms (Views: 2.6ms | Allocations: 4079)
43834
+ ----------------------------------------------
43835
+ Seiten::HTML::HelpersTest: test_#build_classes
43836
+ ----------------------------------------------
43837
+ -----------------------------------------------------
43838
+ Seiten::HTML::HelpersTest: test_#build_page_modifiers
43839
+ -----------------------------------------------------
43840
+ ------------------------------------------------------------------------------------------------
43841
+ Seiten::ApplicationPagesControllerTest: test_should_set_current_page_when_params[:slug]_is_empty
43842
+ ------------------------------------------------------------------------------------------------
43843
+ Processing by Seiten::PagesController#show as HTML
43844
+ Parameters: {"slug"=>""}
43845
+ Rendering layout layouts/home.html.erb
43846
+ Rendering app/pages/application/en/home.html.erb within layouts/home
43847
+ Rendered app/pages/application/en/home.html.erb within layouts/home (Duration: 7.8ms | Allocations: 324)
43848
+ Rendered layout layouts/home.html.erb (Duration: 20.0ms | Allocations: 4852)
43849
+ Completed 200 OK in 39ms (Views: 38.4ms | Allocations: 7277)
43850
+ -------------------------------------------------------------------------------------
43851
+ Seiten::ApplicationPagesControllerTest: test_should_set_products_page_as_current_page
43852
+ -------------------------------------------------------------------------------------
43853
+ Processing by Seiten::PagesController#show as HTML
43854
+ Parameters: {"slug"=>"products"}
43855
+ Rendering layout layouts/products.html.erb
43856
+ Rendering app/pages/application/en/products.html.erb within layouts/products
43857
+ Rendered app/pages/application/en/products.html.erb within layouts/products (Duration: 0.3ms | Allocations: 96)
43858
+ Rendered layout layouts/products.html.erb (Duration: 2.2ms | Allocations: 2886)
43859
+ Completed 200 OK in 3ms (Views: 2.8ms | Allocations: 3307)
43860
+ -------------------------------------
43861
+ Seiten::PageCollectionTest: test_#all
43862
+ -------------------------------------
43863
+ --------------------------------------------
43864
+ Seiten::PageCollectionTest: test_#navigation
43865
+ --------------------------------------------
43866
+ -----------------------------------------
43867
+ Seiten::PageCollectionTest: test_#find_by
43868
+ -----------------------------------------
43869
+ --------------------------------------
43870
+ Seiten::PageCollectionTest: test_#find
43871
+ --------------------------------------
43872
+ -------------------------------------
43873
+ Seiten::PageCollectionTest: test_#new
43874
+ -------------------------------------
43875
+ ---------------------------------------
43876
+ Seiten::PageCollectionTest: test_#where
43877
+ ---------------------------------------
43878
+ ----------------------------------------
43879
+ Seiten::HTML::BreadcrumbTest: test_::new
43880
+ ----------------------------------------
43881
+ ------------------------------------------------------
43882
+ Seiten::Helpers::FrontendTest: test_#seiten_breadcrumb
43883
+ ------------------------------------------------------
43884
+ --------------------------------------------------------
43885
+ Seiten::Helpers::FrontendTest: test_#link_to_seiten_page
43886
+ --------------------------------------------------------
43887
+ ------------------------------------------------------
43888
+ Seiten::Helpers::FrontendTest: test_#seiten_navigation
43889
+ ------------------------------------------------------
43890
+ -----------------------------------------------------------
43891
+ Seiten::SlugBuilderTest: test_should_return_url_with_prefix
43892
+ -----------------------------------------------------------
43893
+ --------------------------------------------------------
43894
+ Seiten::SlugBuilderTest: test_should_return_absolute_url
43895
+ --------------------------------------------------------
43896
+ --------------------------------------------------------
43897
+ Seiten::SlugBuilderTest: test_should_return_empty_string
43898
+ --------------------------------------------------------
43899
+ ---------------------------------------------------------
43900
+ Seiten::SlugBuilderTest: test_should_remove_leading_slash
43901
+ ---------------------------------------------------------
43902
+ --------------------------------------------------------
43903
+ Seiten::SlugBuilderTest: test_should_return_external_url
43904
+ --------------------------------------------------------
43905
+ ---------------------------------------------------------------
43906
+ Seiten::SlugBuilderTest: test_should_return_parameterized_title
43907
+ ---------------------------------------------------------------
43908
+ ----------------------------------------
43909
+ Seiten::HTML::NavigationTest: test_::new
43910
+ ----------------------------------------
43911
+ ------------------------------------
43912
+ LayoutTest: test_returns_home_layout
43913
+ ------------------------------------
43914
+ Started GET "/" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
43915
+ Processing by Seiten::PagesController#show as HTML
43916
+ Parameters: {"slug"=>""}
43917
+ Rendering layout layouts/home.html.erb
43918
+ Rendering app/pages/application/en/home.html.erb within layouts/home
43919
+ Rendered app/pages/application/en/home.html.erb within layouts/home (Duration: 0.0ms | Allocations: 6)
43920
+ Rendered layout layouts/home.html.erb (Duration: 1.7ms | Allocations: 2654)
43921
+ Completed 200 OK in 2ms (Views: 2.1ms | Allocations: 2934)
43922
+ ---------------------------------------
43923
+ LayoutTest: test_returns_default_layout
43924
+ ---------------------------------------
43925
+ Started GET "/about/works" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
43926
+ Processing by Seiten::PagesController#show as HTML
43927
+ Parameters: {"slug"=>"about/works"}
43928
+ Rendering layout layouts/application.html.erb
43929
+ Rendering app/pages/application/en/about/works.html.erb within layouts/application
43930
+ Rendered app/pages/application/en/about/works.html.erb within layouts/application (Duration: 0.3ms | Allocations: 83)
43931
+ Rendered layout layouts/application.html.erb (Duration: 2.5ms | Allocations: 3584)
43932
+ Completed 200 OK in 3ms (Views: 3.3ms | Allocations: 3976)
43933
+ -----------------------------------------
43934
+ LayoutTest: test_returns_inherited_layout
43935
+ -----------------------------------------
43936
+ Started GET "/products/logo-design" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
43937
+ Processing by Seiten::PagesController#show as HTML
43938
+ Parameters: {"slug"=>"products/logo-design"}
43939
+ Rendering layout layouts/products.html.erb
43940
+ Rendering app/pages/application/en/products/logo-design.html.erb within layouts/products
43941
+ Rendered app/pages/application/en/products/logo-design.html.erb within layouts/products (Duration: 0.2ms | Allocations: 67)
43942
+ Rendered layout layouts/products.html.erb (Duration: 1.9ms | Allocations: 3457)
43943
+ Completed 200 OK in 2ms (Views: 2.3ms | Allocations: 3733)
43944
+ --------------------------------------------
43945
+ LayoutTest: test_returns_no_inherited_layout
43946
+ --------------------------------------------
43947
+ Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
43948
+ Processing by Seiten::PagesController#show as HTML
43949
+ Parameters: {"slug"=>"about/our-team/switzerland"}
43950
+ Rendering layout layouts/application.html.erb
43951
+ Rendering app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application
43952
+ Rendered app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application (Duration: 0.2ms | Allocations: 67)
43953
+ Rendered layout layouts/application.html.erb (Duration: 2.1ms | Allocations: 4070)
43954
+ Completed 200 OK in 3ms (Views: 2.6ms | Allocations: 4333)
43955
+ Started GET "/contact" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
43956
+ Processing by Seiten::PagesController#show as HTML
43957
+ Parameters: {"slug"=>"contact"}
43958
+ Rendering layout layouts/application.html.erb
43959
+ Rendering app/pages/application/en/contact.html.erb within layouts/application
43960
+ Rendered app/pages/application/en/contact.html.erb within layouts/application (Duration: 0.2ms | Allocations: 67)
43961
+ Rendered layout layouts/application.html.erb (Duration: 1.7ms | Allocations: 2664)
43962
+ Completed 200 OK in 2ms (Views: 2.1ms | Allocations: 2990)
43963
+ ------------------------------------------------------------------------
43964
+ Seiten::PageCollectionBuilderTest: test_should_build_page_without_an_url
43965
+ ------------------------------------------------------------------------
43966
+ --------------------------------------------------------------
43967
+ Seiten::PageCollectionBuilderTest: test_should_build_root_page
43968
+ --------------------------------------------------------------
43969
+ ------------------------------------------------------------------------------------------
43970
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_that_refers_to_its_first_child
43971
+ ------------------------------------------------------------------------------------------
43972
+ -----------------------------------------------------------------------------------------
43973
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_without_inheriting_the_layout
43974
+ -----------------------------------------------------------------------------------------
43975
+ -------------------------------------------------------------------------
43976
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_with_a_layout
43977
+ -------------------------------------------------------------------------
43978
+ ----------------------------------------------------------------------------------
43979
+ Seiten::PageCollectionBuilderTest: test_should_build_child_page_without_parent_url
43980
+ ----------------------------------------------------------------------------------
43981
+ -----------------------------------------------------------------------------------------
43982
+ Seiten::PageCollectionBuilderTest: test_should_build_a_referer_page_with_an_absolute_path
43983
+ -----------------------------------------------------------------------------------------
43984
+ -------------------------------------------------------------------------------
43985
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_with_default_layout
43986
+ -------------------------------------------------------------------------------
43987
+ -----------------------------------------------------------------------------
43988
+ Seiten::PageCollectionBuilderTest: test_should_build_child_page_of_child_page
43989
+ -----------------------------------------------------------------------------
43990
+ ----------------------------------------------------------------------------
43991
+ Seiten::PageCollectionBuilderTest: test_should_build_page_with_a_defined_url
43992
+ ----------------------------------------------------------------------------
43993
+ -----------------------------------------------------------------------------------------
43994
+ Seiten::PageCollectionBuilderTest: test_should_build_a_referer_page_with_an_external_path
43995
+ -----------------------------------------------------------------------------------------
43996
+ -----------------------------------------------------------------------
43997
+ Seiten::PageCollectionBuilderTest: test_should_raise_page_url_exception
43998
+ -----------------------------------------------------------------------
43999
+ -------------------------------------------------------------------------
44000
+ Seiten::PageCollectionBuilderTest: test_should_raise_page_refer_exception
44001
+ -------------------------------------------------------------------------
44002
+ ---------------------------------------------------------------
44003
+ Seiten::PageCollectionBuilderTest: test_should_build_child_page
44004
+ ---------------------------------------------------------------
44005
+ ------------------------------------------------------------------------------------
44006
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_with_an_inherited_layout
44007
+ ------------------------------------------------------------------------------------
44008
+ ------------------------------------------------------------------------------------
44009
+ Seiten::PageCollectionBuilderTest: test_should_build_a_child_page_with_a_defined_url
44010
+ ------------------------------------------------------------------------------------
44011
+ -------------------------------------------------------------------------
44012
+ PagesControllerTest: test_should_not_set_current_page_on_pages_controller
44013
+ -------------------------------------------------------------------------
44014
+ Processing by PagesController#secret as HTML
44015
+ Rendering layout layouts/application.html.erb
44016
+ Rendering pages/secret.html.erb within layouts/application
44017
+ Rendered pages/secret.html.erb within layouts/application (Duration: 0.2ms | Allocations: 98)
44018
+ Rendered layout layouts/application.html.erb (Duration: 1.9ms | Allocations: 2358)
44019
+ Completed 200 OK in 3ms (Views: 2.9ms | Allocations: 3012)
44020
+ ---------------------------------
44021
+ Seiten::PageTest: test_#external?
44022
+ ---------------------------------
44023
+ --------------------------------
44024
+ Seiten::PageTest: test_#children
44025
+ --------------------------------
44026
+ -------------------------------
44027
+ Seiten::PageTest: test_#parent?
44028
+ -------------------------------
44029
+ ----------------------------
44030
+ Seiten::PageTest: test_#path
44031
+ ----------------------------
44032
+ -------------------------------
44033
+ Seiten::PageTest: test_#active?
44034
+ -------------------------------
44035
+ -------------------------------------
44036
+ Seiten::PageTest: test_#template_path
44037
+ -------------------------------------
44038
+ ----------------------------------
44039
+ Seiten::PageTest: test_#navigation
44040
+ ----------------------------------
44041
+ ---------------------------------
44042
+ Seiten::PageTest: test_#children?
44043
+ ---------------------------------
44044
+ ------------------------------------------
44045
+ Seiten::PageTest: test_#self_and_ancestors
44046
+ ------------------------------------------
44047
+ ----------------------------
44048
+ Seiten::PageTest: test_#root
44049
+ ----------------------------
44050
+ ---------------------------------
44051
+ Seiten::PageTest: test_#ancestors
44052
+ ---------------------------------
44053
+ ----------------------------------
44054
+ Seiten::PageTest: test_#parent_of?
44055
+ ----------------------------------
44056
+ ------------------------------
44057
+ Seiten::PageTest: test_#parent
44058
+ ------------------------------
44059
+ ----------------------------
44060
+ Seiten::PageTest: test_#data
44061
+ ----------------------------
44062
+ ------------------------------
44063
+ Seiten::PageTest: test_#layout
44064
+ ------------------------------
44065
+ -------------------------------------------
44066
+ NavigationTest: test_returns_sub_navigation
44067
+ -------------------------------------------
44068
+ Started GET "/about/partners" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
44069
+ Processing by Seiten::PagesController#show as HTML
44070
+ Parameters: {"slug"=>"about/partners"}
44071
+ Rendering layout layouts/application.html.erb
44072
+ Rendering app/pages/application/en/about/partners.html.erb within layouts/application
44073
+ Rendered app/pages/application/en/about/partners.html.erb within layouts/application (Duration: 0.7ms | Allocations: 919)
44074
+ Rendered layout layouts/application.html.erb (Duration: 2.6ms | Allocations: 4215)
44075
+ Completed 200 OK in 3ms (Views: 3.1ms | Allocations: 4562)
44076
+ --------------------------------------------------------
44077
+ NavigationTest: test_should_ignore_active_storage_routes
44078
+ --------------------------------------------------------
44079
+ Started GET "/rails/active_storage/test" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
44080
+ -------------------------------------------------------------------------------------------
44081
+ NavigationTest: test_returns_page_with_navigation_which_is_not_defined_in_navigation_config
44082
+ -------------------------------------------------------------------------------------------
44083
+ Started GET "/secret" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
44084
+ Processing by PagesController#secret as HTML
44085
+ Rendering layout layouts/application.html.erb
44086
+ Rendering pages/secret.html.erb within layouts/application
44087
+ Rendered pages/secret.html.erb within layouts/application (Duration: 0.0ms | Allocations: 4)
44088
+ Rendered layout layouts/application.html.erb (Duration: 1.4ms | Allocations: 2129)
44089
+ Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 2330)
44090
+ ------------------------------------------------------
44091
+ NavigationTest: test_should_raise_seiten_routing_error
44092
+ ------------------------------------------------------
44093
+ Started GET "/non-existing-route" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
44094
+ Processing by Seiten::PagesController#show as HTML
44095
+ Parameters: {"slug"=>"non-existing-route"}
44096
+ Completed 404 Not Found in 0ms (Allocations: 174)
44097
+ ----------------------------------------------------
44098
+ NavigationTest: test_returns_2_level_deep_navigation
44099
+ ----------------------------------------------------
44100
+ Started GET "/" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
44101
+ Processing by Seiten::PagesController#show as HTML
44102
+ Parameters: {"slug"=>""}
44103
+ Rendering layout layouts/home.html.erb
44104
+ Rendering app/pages/application/en/home.html.erb within layouts/home
44105
+ Rendered app/pages/application/en/home.html.erb within layouts/home (Duration: 0.0ms | Allocations: 6)
44106
+ Rendered layout layouts/home.html.erb (Duration: 1.6ms | Allocations: 2639)
44107
+ Completed 200 OK in 2ms (Views: 1.9ms | Allocations: 2886)
44108
+ --------------------------------------------------
44109
+ NavigationTest: test_returns_breadcrumb_navigation
44110
+ --------------------------------------------------
44111
+ Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
44112
+ Processing by Seiten::PagesController#show as HTML
44113
+ Parameters: {"slug"=>"about/our-team/switzerland"}
44114
+ Rendering layout layouts/application.html.erb
44115
+ Rendering app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application
44116
+ Rendered app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application (Duration: 0.0ms | Allocations: 4)
44117
+ Rendered layout layouts/application.html.erb (Duration: 2.8ms | Allocations: 4008)
44118
+ Completed 200 OK in 3ms (Views: 3.1ms | Allocations: 4214)
44119
+ --------------------------------------------------------------
44120
+ NavigationTest: test_returns_current_page_of_custom_controller
44121
+ --------------------------------------------------------------
44122
+ Started GET "/blog" for 127.0.0.1 at 2022-11-15 14:32:19 +0100
44123
+ Processing by PostsController#index as HTML
44124
+ Rendering layout layouts/application.html.erb
44125
+ Rendering posts/index.html.erb within layouts/application
44126
+ Rendered posts/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 98)
44127
+ Rendered layout layouts/application.html.erb (Duration: 2.3ms | Allocations: 2843)
44128
+ Completed 200 OK in 3ms (Views: 2.9ms | Allocations: 3481)
44129
+ ----------------------------------------------------------------------
44130
+ CurrentHelperMethodsTest: test_defines_methods_like_current_navigation
44131
+ ----------------------------------------------------------------------
44132
+ --------------------------------------------------------------------------
44133
+ CurrentHelperMethodsTest: test_includes_Seiten::ControllerHelpers::Backend
44134
+ --------------------------------------------------------------------------
44135
+ --------------------------------------------------------------------------
44136
+ CurrentHelperMethodsTest: test_includes_Seiten::ControllerHelpers::Current
44137
+ --------------------------------------------------------------------------
44138
+ ----------------------------------------------------------------
44139
+ CurrentHelperMethodsTest: test_defines_methods_like_current_page
44140
+ ----------------------------------------------------------------
44141
+ ----------------------------------------
44142
+ SeitenTest: test_#initialize_navigations
44143
+ ----------------------------------------
44144
+ -----------------------------
44145
+ SeitenTest: test_#navigations
44146
+ -----------------------------
44147
+ ------------------------
44148
+ SeitenTest: test_#config
44149
+ ------------------------
44150
+ ---------------------------------------------------------------------
44151
+ PostsControllerTest: test_should_set_current_page_on_posts_controller
44152
+ ---------------------------------------------------------------------
44153
+ Processing by PostsController#index as HTML
44154
+ Rendering layout layouts/application.html.erb
44155
+ Rendering posts/index.html.erb within layouts/application
44156
+ Rendered posts/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 4)
44157
+ Rendered layout layouts/application.html.erb (Duration: 1.5ms | Allocations: 2566)
44158
+ Completed 200 OK in 2ms (Views: 1.8ms | Allocations: 2805)
44159
+ ------------------------------------------------------------------------------
44160
+ Seiten::HelpPagesControllerTest: test_should_set_products_page_as_current_page
44161
+ ------------------------------------------------------------------------------
44162
+ Processing by Seiten::PagesController#show as HTML
44163
+ Parameters: {"slug"=>"logging-in", "navigation_id"=>"help"}
44164
+ Rendering layout layouts/application.html.erb
44165
+ Rendering app/pages/help/en/logging-in.html.erb within layouts/application
44166
+ Rendered app/pages/help/en/logging-in.html.erb within layouts/application (Duration: 0.2ms | Allocations: 67)
44167
+ Rendered layout layouts/application.html.erb (Duration: 2.2ms | Allocations: 3816)
44168
+ Completed 200 OK in 3ms (Views: 2.6ms | Allocations: 4099)
44169
+ -----------------------------------
44170
+ Seiten::NavigationTest: test_#pages
44171
+ -----------------------------------
44172
+ ------------------------------------
44173
+ Seiten::NavigationTest: test_#pages=
44174
+ ------------------------------------
44175
+ --------------------------------------
44176
+ Seiten::NavigationTest: test_::find_by
44177
+ --------------------------------------
44178
+ --------------------------------
44179
+ Seiten::NavigationTest: test_#id
44180
+ --------------------------------
44181
+ ------------------------------------
44182
+ Seiten::NavigationTest: test_::where
44183
+ ------------------------------------
44184
+ ------------------------
44185
+ SeitenTest: test_#config
44186
+ ------------------------
44187
+ -----------------------------
44188
+ SeitenTest: test_#navigations
44189
+ -----------------------------
44190
+ ----------------------------------------
44191
+ SeitenTest: test_#initialize_navigations
44192
+ ----------------------------------------
44193
+ ----------------------------------------
44194
+ Seiten::HTML::NavigationTest: test_::new
44195
+ ----------------------------------------
44196
+ ----------------------------------------------
44197
+ Seiten::HTML::HelpersTest: test_#build_classes
44198
+ ----------------------------------------------
44199
+ -----------------------------------------------------
44200
+ Seiten::HTML::HelpersTest: test_#build_page_modifiers
44201
+ -----------------------------------------------------
44202
+ ---------------------------------------------------------
44203
+ Seiten::SlugBuilderTest: test_should_remove_leading_slash
44204
+ ---------------------------------------------------------
44205
+ --------------------------------------------------------
44206
+ Seiten::SlugBuilderTest: test_should_return_empty_string
44207
+ --------------------------------------------------------
44208
+ -----------------------------------------------------------
44209
+ Seiten::SlugBuilderTest: test_should_return_url_with_prefix
44210
+ -----------------------------------------------------------
44211
+ --------------------------------------------------------
44212
+ Seiten::SlugBuilderTest: test_should_return_absolute_url
44213
+ --------------------------------------------------------
44214
+ --------------------------------------------------------
44215
+ Seiten::SlugBuilderTest: test_should_return_external_url
44216
+ --------------------------------------------------------
44217
+ ---------------------------------------------------------------
44218
+ Seiten::SlugBuilderTest: test_should_return_parameterized_title
44219
+ ---------------------------------------------------------------
44220
+ -------------------------------------
44221
+ Seiten::PageCollectionTest: test_#all
44222
+ -------------------------------------
44223
+ -------------------------------------
44224
+ Seiten::PageCollectionTest: test_#new
44225
+ -------------------------------------
44226
+ -----------------------------------------
44227
+ Seiten::PageCollectionTest: test_#find_by
44228
+ -----------------------------------------
44229
+ --------------------------------------------
44230
+ Seiten::PageCollectionTest: test_#navigation
44231
+ --------------------------------------------
44232
+ --------------------------------------
44233
+ Seiten::PageCollectionTest: test_#find
44234
+ --------------------------------------
44235
+ ---------------------------------------
44236
+ Seiten::PageCollectionTest: test_#where
44237
+ ---------------------------------------
44238
+ ------------------------------------------------------------------------
44239
+ Seiten::PageCollectionBuilderTest: test_should_build_page_without_an_url
44240
+ ------------------------------------------------------------------------
44241
+ -------------------------------------------------------------------------
44242
+ Seiten::PageCollectionBuilderTest: test_should_raise_page_refer_exception
44243
+ -------------------------------------------------------------------------
44244
+ --------------------------------------------------------------
44245
+ Seiten::PageCollectionBuilderTest: test_should_build_root_page
44246
+ --------------------------------------------------------------
44247
+ ---------------------------------------------------------------
44248
+ Seiten::PageCollectionBuilderTest: test_should_build_child_page
44249
+ ---------------------------------------------------------------
44250
+ ------------------------------------------------------------------------------------
44251
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_with_an_inherited_layout
44252
+ ------------------------------------------------------------------------------------
44253
+ -----------------------------------------------------------------------
44254
+ Seiten::PageCollectionBuilderTest: test_should_raise_page_url_exception
44255
+ -----------------------------------------------------------------------
44256
+ ------------------------------------------------------------------------------------------
44257
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_that_refers_to_its_first_child
44258
+ ------------------------------------------------------------------------------------------
44259
+ -------------------------------------------------------------------------------
44260
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_with_default_layout
44261
+ -------------------------------------------------------------------------------
44262
+ -----------------------------------------------------------------------------------------
44263
+ Seiten::PageCollectionBuilderTest: test_should_build_a_referer_page_with_an_external_path
44264
+ -----------------------------------------------------------------------------------------
44265
+ ------------------------------------------------------------------------------------
44266
+ Seiten::PageCollectionBuilderTest: test_should_build_a_child_page_with_a_defined_url
44267
+ ------------------------------------------------------------------------------------
44268
+ -----------------------------------------------------------------------------
44269
+ Seiten::PageCollectionBuilderTest: test_should_build_child_page_of_child_page
44270
+ -----------------------------------------------------------------------------
44271
+ -----------------------------------------------------------------------------------------
44272
+ Seiten::PageCollectionBuilderTest: test_should_build_a_referer_page_with_an_absolute_path
44273
+ -----------------------------------------------------------------------------------------
44274
+ -----------------------------------------------------------------------------------------
44275
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_without_inheriting_the_layout
44276
+ -----------------------------------------------------------------------------------------
44277
+ -------------------------------------------------------------------------
44278
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_with_a_layout
44279
+ -------------------------------------------------------------------------
44280
+ ----------------------------------------------------------------------------
44281
+ Seiten::PageCollectionBuilderTest: test_should_build_page_with_a_defined_url
44282
+ ----------------------------------------------------------------------------
44283
+ ----------------------------------------------------------------------------------
44284
+ Seiten::PageCollectionBuilderTest: test_should_build_child_page_without_parent_url
44285
+ ----------------------------------------------------------------------------------
44286
+ --------------------------------------------------------
44287
+ Seiten::Helpers::FrontendTest: test_#link_to_seiten_page
44288
+ --------------------------------------------------------
44289
+ ------------------------------------------------------
44290
+ Seiten::Helpers::FrontendTest: test_#seiten_breadcrumb
44291
+ ------------------------------------------------------
44292
+ ------------------------------------------------------
44293
+ Seiten::Helpers::FrontendTest: test_#seiten_navigation
44294
+ ------------------------------------------------------
44295
+ ------------------------------------------------------------------------------
44296
+ Seiten::HelpPagesControllerTest: test_should_set_products_page_as_current_page
44297
+ ------------------------------------------------------------------------------
44298
+ Processing by Seiten::PagesController#show as HTML
44299
+ Parameters: {"slug"=>"logging-in", "navigation_id"=>"help"}
44300
+ Rendering layout layouts/application.html.erb
44301
+ Rendering app/pages/help/en/logging-in.html.erb within layouts/application
44302
+ Rendered app/pages/help/en/logging-in.html.erb within layouts/application (Duration: 0.6ms | Allocations: 153)
44303
+ Rendered layout layouts/application.html.erb (Duration: 4.0ms | Allocations: 4324)
44304
+ Completed 200 OK in 9ms (Views: 8.7ms | Allocations: 6311)
44305
+ -------------------------------------------------------------------------
44306
+ PagesControllerTest: test_should_not_set_current_page_on_pages_controller
44307
+ -------------------------------------------------------------------------
44308
+ Processing by PagesController#secret as HTML
44309
+ Rendering layout layouts/application.html.erb
44310
+ Rendering pages/secret.html.erb within layouts/application
44311
+ Rendered pages/secret.html.erb within layouts/application (Duration: 0.3ms | Allocations: 98)
44312
+ Rendered layout layouts/application.html.erb (Duration: 1.9ms | Allocations: 2169)
44313
+ Completed 200 OK in 3ms (Views: 3.0ms | Allocations: 2823)
44314
+ ---------------------------------------------------------------------
44315
+ PostsControllerTest: test_should_set_current_page_on_posts_controller
44316
+ ---------------------------------------------------------------------
44317
+ Processing by PostsController#index as HTML
44318
+ Rendering layout layouts/application.html.erb
44319
+ Rendering posts/index.html.erb within layouts/application
44320
+ Rendered posts/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 98)
44321
+ Rendered layout layouts/application.html.erb (Duration: 1.6ms | Allocations: 2590)
44322
+ Completed 200 OK in 3ms (Views: 2.3ms | Allocations: 3226)
44323
+ --------------------------------------------------------------
44324
+ NavigationTest: test_returns_current_page_of_custom_controller
44325
+ --------------------------------------------------------------
44326
+ Started GET "/blog" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44327
+ Processing by PostsController#index as HTML
44328
+ Rendering layout layouts/application.html.erb
44329
+ Rendering posts/index.html.erb within layouts/application
44330
+ Rendered posts/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 6)
44331
+ Rendered layout layouts/application.html.erb (Duration: 1.8ms | Allocations: 2422)
44332
+ Completed 200 OK in 2ms (Views: 2.2ms | Allocations: 2715)
44333
+ --------------------------------------------------------
44334
+ NavigationTest: test_should_ignore_active_storage_routes
44335
+ --------------------------------------------------------
44336
+ Started GET "/rails/active_storage/test" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44337
+ ----------------------------------------------------
44338
+ NavigationTest: test_returns_2_level_deep_navigation
44339
+ ----------------------------------------------------
44340
+ Started GET "/" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44341
+ Processing by Seiten::PagesController#show as HTML
44342
+ Parameters: {"slug"=>""}
44343
+ Rendering layout layouts/home.html.erb
44344
+ Rendering app/pages/application/en/home.html.erb within layouts/home
44345
+ Rendered app/pages/application/en/home.html.erb within layouts/home (Duration: 0.5ms | Allocations: 90)
44346
+ Rendered layout layouts/home.html.erb (Duration: 2.6ms | Allocations: 2648)
44347
+ Completed 200 OK in 4ms (Views: 3.4ms | Allocations: 3001)
44348
+ -------------------------------------------------------------------------------------------
44349
+ NavigationTest: test_returns_page_with_navigation_which_is_not_defined_in_navigation_config
44350
+ -------------------------------------------------------------------------------------------
44351
+ Started GET "/secret" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44352
+ Processing by PagesController#secret as HTML
44353
+ Rendering layout layouts/application.html.erb
44354
+ Rendering pages/secret.html.erb within layouts/application
44355
+ Rendered pages/secret.html.erb within layouts/application (Duration: 0.0ms | Allocations: 4)
44356
+ Rendered layout layouts/application.html.erb (Duration: 1.8ms | Allocations: 1940)
44357
+ Completed 200 OK in 2ms (Views: 2.1ms | Allocations: 2140)
44358
+ --------------------------------------------------
44359
+ NavigationTest: test_returns_breadcrumb_navigation
44360
+ --------------------------------------------------
44361
+ Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44362
+ Processing by Seiten::PagesController#show as HTML
44363
+ Parameters: {"slug"=>"about/our-team/switzerland"}
44364
+ Rendering layout layouts/application.html.erb
44365
+ Rendering app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application
44366
+ Rendered app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application (Duration: 0.2ms | Allocations: 84)
44367
+ Rendered layout layouts/application.html.erb (Duration: 2.1ms | Allocations: 3708)
44368
+ Completed 200 OK in 3ms (Views: 2.6ms | Allocations: 4040)
44369
+ -------------------------------------------
44370
+ NavigationTest: test_returns_sub_navigation
44371
+ -------------------------------------------
44372
+ Started GET "/about/partners" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44373
+ Processing by Seiten::PagesController#show as HTML
44374
+ Parameters: {"slug"=>"about/partners"}
44375
+ Rendering layout layouts/application.html.erb
44376
+ Rendering app/pages/application/en/about/partners.html.erb within layouts/application
44377
+ Rendered app/pages/application/en/about/partners.html.erb within layouts/application (Duration: 0.5ms | Allocations: 919)
44378
+ Rendered layout layouts/application.html.erb (Duration: 2.1ms | Allocations: 3866)
44379
+ Completed 200 OK in 3ms (Views: 2.5ms | Allocations: 4185)
44380
+ ------------------------------------------------------
44381
+ NavigationTest: test_should_raise_seiten_routing_error
44382
+ ------------------------------------------------------
44383
+ Started GET "/non-existing-route" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44384
+ Processing by Seiten::PagesController#show as HTML
44385
+ Parameters: {"slug"=>"non-existing-route"}
44386
+ Completed 404 Not Found in 0ms (Allocations: 167)
44387
+ -----------------------------------------
44388
+ LayoutTest: test_returns_inherited_layout
44389
+ -----------------------------------------
44390
+ Started GET "/products/logo-design" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44391
+ Processing by Seiten::PagesController#show as HTML
44392
+ Parameters: {"slug"=>"products/logo-design"}
44393
+ Rendering layout layouts/products.html.erb
44394
+ Rendering app/pages/application/en/products/logo-design.html.erb within layouts/products
44395
+ Rendered app/pages/application/en/products/logo-design.html.erb within layouts/products (Duration: 0.2ms | Allocations: 67)
44396
+ Rendered layout layouts/products.html.erb (Duration: 2.5ms | Allocations: 3303)
44397
+ Completed 200 OK in 3ms (Views: 3.2ms | Allocations: 3651)
44398
+ --------------------------------------------
44399
+ LayoutTest: test_returns_no_inherited_layout
44400
+ --------------------------------------------
44401
+ Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44402
+ Processing by Seiten::PagesController#show as HTML
44403
+ Parameters: {"slug"=>"about/our-team/switzerland"}
44404
+ Rendering layout layouts/application.html.erb
44405
+ Rendering app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application
44406
+ Rendered app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application (Duration: 0.0ms | Allocations: 4)
44407
+ Rendered layout layouts/application.html.erb (Duration: 1.7ms | Allocations: 3558)
44408
+ Completed 200 OK in 2ms (Views: 2.0ms | Allocations: 3763)
44409
+ Started GET "/contact" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44410
+ Processing by Seiten::PagesController#show as HTML
44411
+ Parameters: {"slug"=>"contact"}
44412
+ Rendering layout layouts/application.html.erb
44413
+ Rendering app/pages/application/en/contact.html.erb within layouts/application
44414
+ Rendered app/pages/application/en/contact.html.erb within layouts/application (Duration: 0.2ms | Allocations: 67)
44415
+ Rendered layout layouts/application.html.erb (Duration: 1.9ms | Allocations: 2423)
44416
+ Completed 200 OK in 3ms (Views: 2.6ms | Allocations: 2749)
44417
+ ---------------------------------------
44418
+ LayoutTest: test_returns_default_layout
44419
+ ---------------------------------------
44420
+ Started GET "/about/works" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44421
+ Processing by Seiten::PagesController#show as HTML
44422
+ Parameters: {"slug"=>"about/works"}
44423
+ Rendering layout layouts/application.html.erb
44424
+ Rendering app/pages/application/en/about/works.html.erb within layouts/application
44425
+ Rendered app/pages/application/en/about/works.html.erb within layouts/application (Duration: 0.2ms | Allocations: 67)
44426
+ Rendered layout layouts/application.html.erb (Duration: 1.8ms | Allocations: 3015)
44427
+ Completed 200 OK in 2ms (Views: 2.2ms | Allocations: 3316)
44428
+ ------------------------------------
44429
+ LayoutTest: test_returns_home_layout
44430
+ ------------------------------------
44431
+ Started GET "/" for 127.0.0.1 at 2022-11-15 14:33:26 +0100
44432
+ Processing by Seiten::PagesController#show as HTML
44433
+ Parameters: {"slug"=>""}
44434
+ Rendering layout layouts/home.html.erb
44435
+ Rendering app/pages/application/en/home.html.erb within layouts/home
44436
+ Rendered app/pages/application/en/home.html.erb within layouts/home (Duration: 0.0ms | Allocations: 4)
44437
+ Rendered layout layouts/home.html.erb (Duration: 1.3ms | Allocations: 2327)
44438
+ Completed 200 OK in 2ms (Views: 1.5ms | Allocations: 2533)
44439
+ ----------------------------------------------------------------
44440
+ CurrentHelperMethodsTest: test_defines_methods_like_current_page
44441
+ ----------------------------------------------------------------
44442
+ --------------------------------------------------------------------------
44443
+ CurrentHelperMethodsTest: test_includes_Seiten::ControllerHelpers::Backend
44444
+ --------------------------------------------------------------------------
44445
+ ----------------------------------------------------------------------
44446
+ CurrentHelperMethodsTest: test_defines_methods_like_current_navigation
44447
+ ----------------------------------------------------------------------
44448
+ --------------------------------------------------------------------------
44449
+ CurrentHelperMethodsTest: test_includes_Seiten::ControllerHelpers::Current
44450
+ --------------------------------------------------------------------------
44451
+ ----------------------------------------
44452
+ Seiten::HTML::BreadcrumbTest: test_::new
44453
+ ----------------------------------------
44454
+ --------------------------------
44455
+ Seiten::NavigationTest: test_#id
44456
+ --------------------------------
44457
+ ------------------------------------
44458
+ Seiten::NavigationTest: test_::where
44459
+ ------------------------------------
44460
+ -----------------------------------
44461
+ Seiten::NavigationTest: test_#pages
44462
+ -----------------------------------
44463
+ ------------------------------------
44464
+ Seiten::NavigationTest: test_#pages=
44465
+ ------------------------------------
44466
+ --------------------------------------
44467
+ Seiten::NavigationTest: test_::find_by
44468
+ --------------------------------------
44469
+ ------------------------------
44470
+ Seiten::PageTest: test_#parent
44471
+ ------------------------------
44472
+ ------------------------------
44473
+ Seiten::PageTest: test_#layout
44474
+ ------------------------------
44475
+ ---------------------------------
44476
+ Seiten::PageTest: test_#ancestors
44477
+ ---------------------------------
44478
+ -------------------------------------
44479
+ Seiten::PageTest: test_#template_path
44480
+ -------------------------------------
44481
+ ------------------------------------------
44482
+ Seiten::PageTest: test_#self_and_ancestors
44483
+ ------------------------------------------
44484
+ -------------------------------
44485
+ Seiten::PageTest: test_#parent?
44486
+ -------------------------------
44487
+ ---------------------------------
44488
+ Seiten::PageTest: test_#external?
44489
+ ---------------------------------
44490
+ -------------------------------
44491
+ Seiten::PageTest: test_#active?
44492
+ -------------------------------
44493
+ ----------------------------
44494
+ Seiten::PageTest: test_#data
44495
+ ----------------------------
44496
+ ----------------------------
44497
+ Seiten::PageTest: test_#path
44498
+ ----------------------------
44499
+ ----------------------------
44500
+ Seiten::PageTest: test_#root
44501
+ ----------------------------
44502
+ ----------------------------------
44503
+ Seiten::PageTest: test_#navigation
44504
+ ----------------------------------
44505
+ ----------------------------------
44506
+ Seiten::PageTest: test_#parent_of?
44507
+ ----------------------------------
44508
+ ---------------------------------
44509
+ Seiten::PageTest: test_#children?
44510
+ ---------------------------------
44511
+ --------------------------------
44512
+ Seiten::PageTest: test_#children
44513
+ --------------------------------
44514
+ ------------------------------------------------------------------------------------------------
44515
+ Seiten::ApplicationPagesControllerTest: test_should_set_current_page_when_params[:slug]_is_empty
44516
+ ------------------------------------------------------------------------------------------------
44517
+ Processing by Seiten::PagesController#show as HTML
44518
+ Parameters: {"slug"=>""}
44519
+ Rendering layout layouts/home.html.erb
44520
+ Rendering app/pages/application/en/home.html.erb within layouts/home
44521
+ Rendered app/pages/application/en/home.html.erb within layouts/home (Duration: 0.0ms | Allocations: 4)
44522
+ Rendered layout layouts/home.html.erb (Duration: 1.4ms | Allocations: 2316)
44523
+ Completed 200 OK in 2ms (Views: 1.6ms | Allocations: 2523)
44524
+ -------------------------------------------------------------------------------------
44525
+ Seiten::ApplicationPagesControllerTest: test_should_set_products_page_as_current_page
44526
+ -------------------------------------------------------------------------------------
44527
+ Processing by Seiten::PagesController#show as HTML
44528
+ Parameters: {"slug"=>"products"}
44529
+ Rendering layout layouts/products.html.erb
44530
+ Rendering app/pages/application/en/products.html.erb within layouts/products
44531
+ Rendered app/pages/application/en/products.html.erb within layouts/products (Duration: 0.2ms | Allocations: 76)
44532
+ Rendered layout layouts/products.html.erb (Duration: 1.7ms | Allocations: 2420)
44533
+ Completed 200 OK in 2ms (Views: 2.2ms | Allocations: 2711)
44534
+ ----------------------------------------
44535
+ Seiten::HTML::BreadcrumbTest: test_::new
44536
+ ----------------------------------------
44537
+ ------------------------------------
44538
+ Seiten::NavigationTest: test_::where
44539
+ ------------------------------------
44540
+ --------------------------------
44541
+ Seiten::NavigationTest: test_#id
44542
+ --------------------------------
44543
+ -----------------------------------
44544
+ Seiten::NavigationTest: test_#pages
44545
+ -----------------------------------
44546
+ ------------------------------------
44547
+ Seiten::NavigationTest: test_#pages=
44548
+ ------------------------------------
44549
+ --------------------------------------
44550
+ Seiten::NavigationTest: test_::find_by
44551
+ --------------------------------------
44552
+ --------------------------------------------
44553
+ LayoutTest: test_returns_no_inherited_layout
44554
+ --------------------------------------------
44555
+ Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44556
+ Processing by Seiten::PagesController#show as HTML
44557
+ Parameters: {"slug"=>"about/our-team/switzerland"}
44558
+ Rendering layout layouts/application.html.erb
44559
+ Rendering app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application
44560
+ Rendered app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application (Duration: 0.3ms | Allocations: 153)
44561
+ Rendered layout layouts/application.html.erb (Duration: 3.0ms | Allocations: 5079)
44562
+ Completed 200 OK in 7ms (Views: 6.1ms | Allocations: 7081)
44563
+ Started GET "/contact" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44564
+ Processing by Seiten::PagesController#show as HTML
44565
+ Parameters: {"slug"=>"contact"}
44566
+ Rendering layout layouts/application.html.erb
44567
+ Rendering app/pages/application/en/contact.html.erb within layouts/application
44568
+ Rendered app/pages/application/en/contact.html.erb within layouts/application (Duration: 0.2ms | Allocations: 84)
44569
+ Rendered layout layouts/application.html.erb (Duration: 1.6ms | Allocations: 2509)
44570
+ Completed 200 OK in 2ms (Views: 2.0ms | Allocations: 2906)
44571
+ ------------------------------------
44572
+ LayoutTest: test_returns_home_layout
44573
+ ------------------------------------
44574
+ Started GET "/" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44575
+ Processing by Seiten::PagesController#show as HTML
44576
+ Parameters: {"slug"=>""}
44577
+ Rendering layout layouts/home.html.erb
44578
+ Rendering app/pages/application/en/home.html.erb within layouts/home
44579
+ Rendered app/pages/application/en/home.html.erb within layouts/home (Duration: 0.3ms | Allocations: 75)
44580
+ Rendered layout layouts/home.html.erb (Duration: 1.9ms | Allocations: 2631)
44581
+ Completed 200 OK in 3ms (Views: 2.4ms | Allocations: 2968)
44582
+ -----------------------------------------
44583
+ LayoutTest: test_returns_inherited_layout
44584
+ -----------------------------------------
44585
+ Started GET "/products/logo-design" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44586
+ Processing by Seiten::PagesController#show as HTML
44587
+ Parameters: {"slug"=>"products/logo-design"}
44588
+ Rendering layout layouts/products.html.erb
44589
+ Rendering app/pages/application/en/products/logo-design.html.erb within layouts/products
44590
+ Rendered app/pages/application/en/products/logo-design.html.erb within layouts/products (Duration: 0.2ms | Allocations: 67)
44591
+ Rendered layout layouts/products.html.erb (Duration: 2.0ms | Allocations: 3301)
44592
+ Completed 200 OK in 3ms (Views: 2.5ms | Allocations: 3649)
44593
+ ---------------------------------------
44594
+ LayoutTest: test_returns_default_layout
44595
+ ---------------------------------------
44596
+ Started GET "/about/works" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44597
+ Processing by Seiten::PagesController#show as HTML
44598
+ Parameters: {"slug"=>"about/works"}
44599
+ Rendering layout layouts/application.html.erb
44600
+ Rendering app/pages/application/en/about/works.html.erb within layouts/application
44601
+ Rendered app/pages/application/en/about/works.html.erb within layouts/application (Duration: 0.2ms | Allocations: 67)
44602
+ Rendered layout layouts/application.html.erb (Duration: 1.8ms | Allocations: 3015)
44603
+ Completed 200 OK in 2ms (Views: 2.2ms | Allocations: 3316)
44604
+ --------------------------------------
44605
+ Seiten::PageCollectionTest: test_#find
44606
+ --------------------------------------
44607
+ -----------------------------------------
44608
+ Seiten::PageCollectionTest: test_#find_by
44609
+ -----------------------------------------
44610
+ -------------------------------------
44611
+ Seiten::PageCollectionTest: test_#new
44612
+ -------------------------------------
44613
+ -------------------------------------
44614
+ Seiten::PageCollectionTest: test_#all
44615
+ -------------------------------------
44616
+ --------------------------------------------
44617
+ Seiten::PageCollectionTest: test_#navigation
44618
+ --------------------------------------------
44619
+ ---------------------------------------
44620
+ Seiten::PageCollectionTest: test_#where
44621
+ ---------------------------------------
44622
+ --------------------------------------------------------
44623
+ NavigationTest: test_should_ignore_active_storage_routes
44624
+ --------------------------------------------------------
44625
+ Started GET "/rails/active_storage/test" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44626
+ ----------------------------------------------------
44627
+ NavigationTest: test_returns_2_level_deep_navigation
44628
+ ----------------------------------------------------
44629
+ Started GET "/" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44630
+ Processing by Seiten::PagesController#show as HTML
44631
+ Parameters: {"slug"=>""}
44632
+ Rendering layout layouts/home.html.erb
44633
+ Rendering app/pages/application/en/home.html.erb within layouts/home
44634
+ Rendered app/pages/application/en/home.html.erb within layouts/home (Duration: 0.1ms | Allocations: 4)
44635
+ Rendered layout layouts/home.html.erb (Duration: 1.5ms | Allocations: 2327)
44636
+ Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 2532)
44637
+ --------------------------------------------------------------
44638
+ NavigationTest: test_returns_current_page_of_custom_controller
44639
+ --------------------------------------------------------------
44640
+ Started GET "/blog" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44641
+ Processing by PostsController#index as HTML
44642
+ Rendering layout layouts/application.html.erb
44643
+ Rendering posts/index.html.erb within layouts/application
44644
+ Rendered posts/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 98)
44645
+ Rendered layout layouts/application.html.erb (Duration: 2.1ms | Allocations: 2602)
44646
+ Completed 200 OK in 3ms (Views: 2.8ms | Allocations: 3296)
44647
+ ------------------------------------------------------
44648
+ NavigationTest: test_should_raise_seiten_routing_error
44649
+ ------------------------------------------------------
44650
+ Started GET "/non-existing-route" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44651
+ Processing by Seiten::PagesController#show as HTML
44652
+ Parameters: {"slug"=>"non-existing-route"}
44653
+ Completed 404 Not Found in 0ms (Allocations: 164)
44654
+ --------------------------------------------------
44655
+ NavigationTest: test_returns_breadcrumb_navigation
44656
+ --------------------------------------------------
44657
+ Started GET "/about/our-team/switzerland" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44658
+ Processing by Seiten::PagesController#show as HTML
44659
+ Parameters: {"slug"=>"about/our-team/switzerland"}
44660
+ Rendering layout layouts/application.html.erb
44661
+ Rendering app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application
44662
+ Rendered app/pages/application/en/about/our-team/switzerland.html.erb within layouts/application (Duration: 0.0ms | Allocations: 4)
44663
+ Rendered layout layouts/application.html.erb (Duration: 1.8ms | Allocations: 3559)
44664
+ Completed 200 OK in 2ms (Views: 2.2ms | Allocations: 3778)
44665
+ -------------------------------------------------------------------------------------------
44666
+ NavigationTest: test_returns_page_with_navigation_which_is_not_defined_in_navigation_config
44667
+ -------------------------------------------------------------------------------------------
44668
+ Started GET "/secret" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44669
+ Processing by PagesController#secret as HTML
44670
+ Rendering layout layouts/application.html.erb
44671
+ Rendering pages/secret.html.erb within layouts/application
44672
+ Rendered pages/secret.html.erb within layouts/application (Duration: 0.2ms | Allocations: 98)
44673
+ Rendered layout layouts/application.html.erb (Duration: 1.7ms | Allocations: 2180)
44674
+ Completed 200 OK in 3ms (Views: 2.7ms | Allocations: 2780)
44675
+ -------------------------------------------
44676
+ NavigationTest: test_returns_sub_navigation
44677
+ -------------------------------------------
44678
+ Started GET "/about/partners" for 127.0.0.1 at 2022-11-15 14:33:56 +0100
44679
+ Processing by Seiten::PagesController#show as HTML
44680
+ Parameters: {"slug"=>"about/partners"}
44681
+ Rendering layout layouts/application.html.erb
44682
+ Rendering app/pages/application/en/about/partners.html.erb within layouts/application
44683
+ Rendered app/pages/application/en/about/partners.html.erb within layouts/application (Duration: 0.7ms | Allocations: 929)
44684
+ Rendered layout layouts/application.html.erb (Duration: 2.7ms | Allocations: 3921)
44685
+ Completed 200 OK in 3ms (Views: 3.2ms | Allocations: 4310)
44686
+ ------------------------------------------------------------------------------
44687
+ Seiten::HelpPagesControllerTest: test_should_set_products_page_as_current_page
44688
+ ------------------------------------------------------------------------------
44689
+ Processing by Seiten::PagesController#show as HTML
44690
+ Parameters: {"slug"=>"logging-in", "navigation_id"=>"help"}
44691
+ Rendering layout layouts/application.html.erb
44692
+ Rendering app/pages/help/en/logging-in.html.erb within layouts/application
44693
+ Rendered app/pages/help/en/logging-in.html.erb within layouts/application (Duration: 0.2ms | Allocations: 67)
44694
+ Rendered layout layouts/application.html.erb (Duration: 2.0ms | Allocations: 3837)
44695
+ Completed 200 OK in 3ms (Views: 2.5ms | Allocations: 4121)
44696
+ -------------------------------------------------------------------------
44697
+ PagesControllerTest: test_should_not_set_current_page_on_pages_controller
44698
+ -------------------------------------------------------------------------
44699
+ Processing by PagesController#secret as HTML
44700
+ Rendering layout layouts/application.html.erb
44701
+ Rendering pages/secret.html.erb within layouts/application
44702
+ Rendered pages/secret.html.erb within layouts/application (Duration: 0.0ms | Allocations: 4)
44703
+ Rendered layout layouts/application.html.erb (Duration: 1.4ms | Allocations: 1930)
44704
+ Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 2134)
44705
+ -----------------------------
44706
+ SeitenTest: test_#navigations
44707
+ -----------------------------
44708
+ ------------------------
44709
+ SeitenTest: test_#config
44710
+ ------------------------
44711
+ ----------------------------------------
44712
+ SeitenTest: test_#initialize_navigations
44713
+ ----------------------------------------
44714
+ ----------------------------------------------------------------------
44715
+ CurrentHelperMethodsTest: test_defines_methods_like_current_navigation
44716
+ ----------------------------------------------------------------------
44717
+ ----------------------------------------------------------------
44718
+ CurrentHelperMethodsTest: test_defines_methods_like_current_page
44719
+ ----------------------------------------------------------------
44720
+ --------------------------------------------------------------------------
44721
+ CurrentHelperMethodsTest: test_includes_Seiten::ControllerHelpers::Backend
44722
+ --------------------------------------------------------------------------
44723
+ --------------------------------------------------------------------------
44724
+ CurrentHelperMethodsTest: test_includes_Seiten::ControllerHelpers::Current
44725
+ --------------------------------------------------------------------------
44726
+ -----------------------------------------------------
44727
+ Seiten::HTML::HelpersTest: test_#build_page_modifiers
44728
+ -----------------------------------------------------
44729
+ ----------------------------------------------
44730
+ Seiten::HTML::HelpersTest: test_#build_classes
44731
+ ----------------------------------------------
44732
+ -----------------------------------------------------------------------------------------
44733
+ Seiten::PageCollectionBuilderTest: test_should_build_a_referer_page_with_an_absolute_path
44734
+ -----------------------------------------------------------------------------------------
44735
+ ------------------------------------------------------------------------------------
44736
+ Seiten::PageCollectionBuilderTest: test_should_build_a_child_page_with_a_defined_url
44737
+ ------------------------------------------------------------------------------------
44738
+ -----------------------------------------------------------------------
44739
+ Seiten::PageCollectionBuilderTest: test_should_raise_page_url_exception
44740
+ -----------------------------------------------------------------------
44741
+ ------------------------------------------------------------------------------------
44742
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_with_an_inherited_layout
44743
+ ------------------------------------------------------------------------------------
44744
+ -----------------------------------------------------------------------------------------
44745
+ Seiten::PageCollectionBuilderTest: test_should_build_a_referer_page_with_an_external_path
44746
+ -----------------------------------------------------------------------------------------
44747
+ --------------------------------------------------------------
44748
+ Seiten::PageCollectionBuilderTest: test_should_build_root_page
44749
+ --------------------------------------------------------------
44750
+ ----------------------------------------------------------------------------------
44751
+ Seiten::PageCollectionBuilderTest: test_should_build_child_page_without_parent_url
44752
+ ----------------------------------------------------------------------------------
44753
+ -------------------------------------------------------------------------
44754
+ Seiten::PageCollectionBuilderTest: test_should_raise_page_refer_exception
44755
+ -------------------------------------------------------------------------
44756
+ -------------------------------------------------------------------------
44757
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_with_a_layout
44758
+ -------------------------------------------------------------------------
44759
+ -------------------------------------------------------------------------------
44760
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_with_default_layout
44761
+ -------------------------------------------------------------------------------
44762
+ ------------------------------------------------------------------------------------------
44763
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_that_refers_to_its_first_child
44764
+ ------------------------------------------------------------------------------------------
44765
+ ----------------------------------------------------------------------------
44766
+ Seiten::PageCollectionBuilderTest: test_should_build_page_with_a_defined_url
44767
+ ----------------------------------------------------------------------------
44768
+ -----------------------------------------------------------------------------------------
44769
+ Seiten::PageCollectionBuilderTest: test_should_build_a_page_without_inheriting_the_layout
44770
+ -----------------------------------------------------------------------------------------
44771
+ ---------------------------------------------------------------
44772
+ Seiten::PageCollectionBuilderTest: test_should_build_child_page
44773
+ ---------------------------------------------------------------
44774
+ ------------------------------------------------------------------------
44775
+ Seiten::PageCollectionBuilderTest: test_should_build_page_without_an_url
44776
+ ------------------------------------------------------------------------
44777
+ -----------------------------------------------------------------------------
44778
+ Seiten::PageCollectionBuilderTest: test_should_build_child_page_of_child_page
44779
+ -----------------------------------------------------------------------------
44780
+ ------------------------------------------------------------------------------------------------
44781
+ Seiten::ApplicationPagesControllerTest: test_should_set_current_page_when_params[:slug]_is_empty
44782
+ ------------------------------------------------------------------------------------------------
44783
+ Processing by Seiten::PagesController#show as HTML
44784
+ Parameters: {"slug"=>""}
44785
+ Rendering layout layouts/home.html.erb
44786
+ Rendering app/pages/application/en/home.html.erb within layouts/home
44787
+ Rendered app/pages/application/en/home.html.erb within layouts/home (Duration: 0.0ms | Allocations: 4)
44788
+ Rendered layout layouts/home.html.erb (Duration: 1.8ms | Allocations: 2316)
44789
+ Completed 200 OK in 2ms (Views: 2.2ms | Allocations: 2524)
44790
+ -------------------------------------------------------------------------------------
44791
+ Seiten::ApplicationPagesControllerTest: test_should_set_products_page_as_current_page
44792
+ -------------------------------------------------------------------------------------
44793
+ Processing by Seiten::PagesController#show as HTML
44794
+ Parameters: {"slug"=>"products"}
44795
+ Rendering layout layouts/products.html.erb
44796
+ Rendering app/pages/application/en/products.html.erb within layouts/products
44797
+ Rendered app/pages/application/en/products.html.erb within layouts/products (Duration: 0.2ms | Allocations: 76)
44798
+ Rendered layout layouts/products.html.erb (Duration: 1.6ms | Allocations: 2420)
44799
+ Completed 200 OK in 2ms (Views: 2.1ms | Allocations: 2711)
44800
+ --------------------------------------------------------
44801
+ Seiten::Helpers::FrontendTest: test_#link_to_seiten_page
44802
+ --------------------------------------------------------
44803
+ ------------------------------------------------------
44804
+ Seiten::Helpers::FrontendTest: test_#seiten_breadcrumb
44805
+ ------------------------------------------------------
44806
+ ------------------------------------------------------
44807
+ Seiten::Helpers::FrontendTest: test_#seiten_navigation
44808
+ ------------------------------------------------------
44809
+ ----------------------------
44810
+ Seiten::PageTest: test_#root
44811
+ ----------------------------
44812
+ ----------------------------
44813
+ Seiten::PageTest: test_#path
44814
+ ----------------------------
44815
+ ----------------------------------
44816
+ Seiten::PageTest: test_#parent_of?
44817
+ ----------------------------------
44818
+ ------------------------------------------
44819
+ Seiten::PageTest: test_#self_and_ancestors
44820
+ ------------------------------------------
44821
+ -------------------------------------
44822
+ Seiten::PageTest: test_#template_path
44823
+ -------------------------------------
44824
+ ------------------------------
44825
+ Seiten::PageTest: test_#layout
44826
+ ------------------------------
44827
+ -------------------------------
44828
+ Seiten::PageTest: test_#active?
44829
+ -------------------------------
44830
+ ------------------------------
44831
+ Seiten::PageTest: test_#parent
44832
+ ------------------------------
44833
+ ----------------------------
44834
+ Seiten::PageTest: test_#data
44835
+ ----------------------------
44836
+ -------------------------------
44837
+ Seiten::PageTest: test_#parent?
44838
+ -------------------------------
44839
+ ---------------------------------
44840
+ Seiten::PageTest: test_#external?
44841
+ ---------------------------------
44842
+ ---------------------------------
44843
+ Seiten::PageTest: test_#ancestors
44844
+ ---------------------------------
44845
+ ---------------------------------
44846
+ Seiten::PageTest: test_#children?
44847
+ ---------------------------------
44848
+ ----------------------------------
44849
+ Seiten::PageTest: test_#navigation
44850
+ ----------------------------------
44851
+ --------------------------------
44852
+ Seiten::PageTest: test_#children
44853
+ --------------------------------
44854
+ ---------------------------------------------------------------------
44855
+ PostsControllerTest: test_should_set_current_page_on_posts_controller
44856
+ ---------------------------------------------------------------------
44857
+ Processing by PostsController#index as HTML
44858
+ Rendering layout layouts/application.html.erb
44859
+ Rendering posts/index.html.erb within layouts/application
44860
+ Rendered posts/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 6)
44861
+ Rendered layout layouts/application.html.erb (Duration: 1.5ms | Allocations: 2336)
44862
+ Completed 200 OK in 2ms (Views: 1.8ms | Allocations: 2609)
44863
+ --------------------------------------------------------
44864
+ Seiten::SlugBuilderTest: test_should_return_absolute_url
44865
+ --------------------------------------------------------
44866
+ ---------------------------------------------------------------
44867
+ Seiten::SlugBuilderTest: test_should_return_parameterized_title
44868
+ ---------------------------------------------------------------
44869
+ -----------------------------------------------------------
44870
+ Seiten::SlugBuilderTest: test_should_return_url_with_prefix
44871
+ -----------------------------------------------------------
44872
+ --------------------------------------------------------
44873
+ Seiten::SlugBuilderTest: test_should_return_empty_string
44874
+ --------------------------------------------------------
44875
+ --------------------------------------------------------
44876
+ Seiten::SlugBuilderTest: test_should_return_external_url
44877
+ --------------------------------------------------------
44878
+ ---------------------------------------------------------
44879
+ Seiten::SlugBuilderTest: test_should_remove_leading_slash
44880
+ ---------------------------------------------------------
44881
+ ----------------------------------------
44882
+ Seiten::HTML::NavigationTest: test_::new
44883
+ ----------------------------------------
@@ -1 +1 @@
1
- <ul class="breadcrumb"><li class="breadcrumb__item"><a href="/our-team">About</a></li><li class="breadcrumb__item"><span class="breadcrumb__separator">&gt;</span><a href="/about/our-team">Our Team</a></li><li class="breadcrumb__item breadcrumb__item--current"><span class="breadcrumb__separator">&gt;</span><a href="/about/our-team/switzerland">Switzerland</a></li></ul>
1
+ <ul class="breadcrumb"><li class="breadcrumb__item"><a href="/about/our-team">About</a></li><li class="breadcrumb__item"><span class="breadcrumb__separator">&gt;</span><a href="/about/our-team">Our Team</a></li><li class="breadcrumb__item breadcrumb__item--current"><span class="breadcrumb__separator">&gt;</span><a href="/about/our-team/switzerland">Switzerland</a></li></ul>
@@ -1 +1 @@
1
- <ul class="navigation"><li class="navigation__item navigation__item--active navigation__item--current test-class" data-behaviour="hello"><a href="/">Home</a></li><li class="navigation__item"><a href="/blog">Blog</a></li><li class="navigation__item navigation__item--parent"><a href="/products">Products</a><ul class="navigation__nodes"><li class="navigation__item"><a href="/products/logo-design">Logo Design</a></li><li class="navigation__item"><a href="/products/web-development">Web Development</a></li><li class="navigation__item"><a href="/contact">Hire us</a></li></ul></li><li class="navigation__item navigation__item--parent"><a href="/our-team">About</a><ul class="navigation__nodes"><li class="navigation__item navigation__item--parent"><a href="/about/our-team">Our Team</a></li><li class="navigation__item"><a href="/about/works">Works</a></li><li class="navigation__item navigation__item--parent"><a href="/about/partners">Partners</a></li></ul></li><li class="navigation__item"><a href="/contact">Contact</a></li><li class="navigation__item"><a href="/localization">I18n</a></li></ul>
1
+ <ul class="navigation"><li class="navigation__item navigation__item--active navigation__item--current test-class" data-behaviour="hello"><a href="/">Home</a></li><li class="navigation__item"><a href="/blog">Blog</a></li><li class="navigation__item navigation__item--parent"><a href="/products">Products</a><ul class="navigation__nodes"><li class="navigation__item"><a href="/products/logo-design">Logo Design</a></li><li class="navigation__item"><a href="/products/web-development">Web Development</a></li><li class="navigation__item"><a href="/contact">Hire us</a></li></ul></li><li class="navigation__item navigation__item--parent"><a href="/about/our-team">About</a><ul class="navigation__nodes"><li class="navigation__item navigation__item--parent"><a href="/about/our-team">Our Team</a></li><li class="navigation__item"><a href="/about/works">Works</a></li><li class="navigation__item navigation__item--parent"><a href="/about/partners">Partners</a></li></ul></li><li class="navigation__item"><a href="/contact">Contact</a></li><li class="navigation__item"><a href="/localization">I18n</a></li></ul>
@@ -75,7 +75,7 @@ class Seiten::PageCollectionBuilderTest < ActiveSupport::TestCase
75
75
  options[:pages] << { "title" => "About us", "refer" => true, "nodes" => [{ "title" => "Team" }] }
76
76
  Seiten::PageCollectionBuilder.call(page_collection, options)
77
77
 
78
- assert_equal "/team", page_collection.where(slug: nil).first.refer
78
+ assert_equal "/about-us/team", page_collection.where(slug: nil).first.refer
79
79
  end
80
80
 
81
81
  test 'should build a referer page with an absolute path' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seiten
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Puglisi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-02 00:00:00.000000000 Z
11
+ date: 2022-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -181,7 +181,7 @@ homepage: http://danielpuglisi.com
181
181
  licenses:
182
182
  - MIT
183
183
  metadata: {}
184
- post_install_message:
184
+ post_install_message:
185
185
  rdoc_options: []
186
186
  require_paths:
187
187
  - lib
@@ -196,87 +196,87 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  - !ruby/object:Gem::Version
197
197
  version: '0'
198
198
  requirements: []
199
- rubygems_version: 3.0.3.1
200
- signing_key:
199
+ rubygems_version: 3.3.7
200
+ signing_key:
201
201
  specification_version: 4
202
202
  summary: Static Pages for Rails.
203
203
  test_files:
204
+ - test/controllers/helper_methods_test.rb
205
+ - test/controllers/pages_controller_test.rb
206
+ - test/controllers/posts_controller_test.rb
207
+ - test/controllers/seiten/pages_controller_test.rb
208
+ - test/dummy/README.rdoc
209
+ - test/dummy/Rakefile
204
210
  - test/dummy/app/controllers/application_controller.rb
205
211
  - test/dummy/app/controllers/pages_controller.rb
206
212
  - test/dummy/app/controllers/posts_controller.rb
207
- - test/dummy/app/views/posts/index.html.erb
208
- - test/dummy/app/views/layouts/products.html.erb
209
- - test/dummy/app/views/layouts/team.html.erb
210
- - test/dummy/app/views/layouts/application.html.erb
211
- - test/dummy/app/views/layouts/home.html.erb
212
- - test/dummy/app/views/pages/secret.html.erb
213
- - test/dummy/app/pages/application/localization.html.erb
213
+ - test/dummy/app/helpers/application_helper.rb
214
214
  - test/dummy/app/pages/application/de/produkte.html.erb
215
- - test/dummy/app/pages/application/en/products/logo-design.html.erb
216
- - test/dummy/app/pages/application/en/products/web-development.html.erb
217
- - test/dummy/app/pages/application/en/products/hire-us.html.erb
218
- - test/dummy/app/pages/application/en/products.html.erb
219
- - test/dummy/app/pages/application/en/contact.html.erb
220
- - test/dummy/app/pages/application/en/about/works.html.erb
215
+ - test/dummy/app/pages/application/en/about/our-team/italy.html.erb
216
+ - test/dummy/app/pages/application/en/about/our-team/switzerland.html.erb
221
217
  - test/dummy/app/pages/application/en/about/our-team.html.erb
222
218
  - test/dummy/app/pages/application/en/about/partners.html.erb
223
- - test/dummy/app/pages/application/en/about/our-team/switzerland.html.erb
224
- - test/dummy/app/pages/application/en/about/our-team/italy.html.erb
225
- - test/dummy/app/pages/application/en/home.html.erb
219
+ - test/dummy/app/pages/application/en/about/works.html.erb
226
220
  - test/dummy/app/pages/application/en/about.html.erb
227
- - test/dummy/app/pages/help/en/logging-in.html.erb
221
+ - test/dummy/app/pages/application/en/contact.html.erb
222
+ - test/dummy/app/pages/application/en/home.html.erb
223
+ - test/dummy/app/pages/application/en/products/hire-us.html.erb
224
+ - test/dummy/app/pages/application/en/products/logo-design.html.erb
225
+ - test/dummy/app/pages/application/en/products/web-development.html.erb
226
+ - test/dummy/app/pages/application/en/products.html.erb
227
+ - test/dummy/app/pages/application/localization.html.erb
228
228
  - test/dummy/app/pages/help/en/home.html.erb
229
- - test/dummy/app/helpers/application_helper.rb
230
- - test/dummy/config/secrets.yml
231
- - test/dummy/config/routes.rb
232
- - test/dummy/config/locales/en.yml
229
+ - test/dummy/app/pages/help/en/logging-in.html.erb
230
+ - test/dummy/app/views/layouts/application.html.erb
231
+ - test/dummy/app/views/layouts/home.html.erb
232
+ - test/dummy/app/views/layouts/products.html.erb
233
+ - test/dummy/app/views/layouts/team.html.erb
234
+ - test/dummy/app/views/pages/secret.html.erb
235
+ - test/dummy/app/views/posts/index.html.erb
236
+ - test/dummy/config/application.rb
237
+ - test/dummy/config/boot.rb
233
238
  - test/dummy/config/cable.yml
234
- - test/dummy/config/environments/production.rb
239
+ - test/dummy/config/database.yml
240
+ - test/dummy/config/environment.rb
235
241
  - test/dummy/config/environments/development.rb
242
+ - test/dummy/config/environments/production.rb
236
243
  - test/dummy/config/environments/test.rb
237
- - test/dummy/config/environment.rb
238
- - test/dummy/config/application.rb
239
- - test/dummy/config/database.yml
240
- - test/dummy/config/navigations/application.en.yml
241
- - test/dummy/config/navigations/help.en.yml
242
- - test/dummy/config/navigations/application.de.yml
243
- - test/dummy/config/boot.rb
244
244
  - test/dummy/config/initializers/application_controller_renderer.rb
245
245
  - test/dummy/config/initializers/backtrace_silencers.rb
246
- - test/dummy/config/initializers/mime_types.rb
246
+ - test/dummy/config/initializers/cookies_serializer.rb
247
247
  - test/dummy/config/initializers/filter_parameter_logging.rb
248
- - test/dummy/config/initializers/session_store.rb
249
- - test/dummy/config/initializers/wrap_parameters.rb
248
+ - test/dummy/config/initializers/inflections.rb
249
+ - test/dummy/config/initializers/mime_types.rb
250
250
  - test/dummy/config/initializers/new_framework_defaults.rb
251
- - test/dummy/config/initializers/cookies_serializer.rb
252
251
  - test/dummy/config/initializers/secret_token.rb
253
- - test/dummy/config/initializers/inflections.rb
252
+ - test/dummy/config/initializers/session_store.rb
253
+ - test/dummy/config/initializers/wrap_parameters.rb
254
+ - test/dummy/config/locales/en.yml
255
+ - test/dummy/config/navigations/application.de.yml
256
+ - test/dummy/config/navigations/application.en.yml
257
+ - test/dummy/config/navigations/help.en.yml
258
+ - test/dummy/config/routes.rb
259
+ - test/dummy/config/secrets.yml
254
260
  - test/dummy/config.ru
255
- - test/dummy/script/rails
256
- - test/dummy/Rakefile
257
- - test/dummy/public/favicon.ico
261
+ - test/dummy/log/development.log
262
+ - test/dummy/log/test.log
263
+ - test/dummy/public/404.html
258
264
  - test/dummy/public/422.html
259
265
  - test/dummy/public/500.html
260
- - test/dummy/public/404.html
261
- - test/dummy/log/test.log
262
- - test/dummy/log/development.log
263
- - test/dummy/README.rdoc
266
+ - test/dummy/public/favicon.ico
267
+ - test/dummy/script/rails
268
+ - test/fixtures/breadcrumb.html
269
+ - test/fixtures/navigation.html
264
270
  - test/integration/layout_test.rb
265
271
  - test/integration/navigation_test.rb
266
- - test/lib/seiten/slug_builder_test.rb
272
+ - test/lib/seiten/helpers/frontend_test.rb
267
273
  - test/lib/seiten/html/breadcrumb_test.rb
268
274
  - test/lib/seiten/html/helpers_test.rb
269
275
  - test/lib/seiten/html/navigation_test.rb
270
- - test/lib/seiten/page_test.rb
271
- - test/lib/seiten/page_collection_builder_test.rb
272
276
  - test/lib/seiten/navigation_test.rb
277
+ - test/lib/seiten/page_collection_builder_test.rb
273
278
  - test/lib/seiten/page_collection_test.rb
274
- - test/lib/seiten/helpers/frontend_test.rb
279
+ - test/lib/seiten/page_test.rb
280
+ - test/lib/seiten/slug_builder_test.rb
275
281
  - test/lib/seiten_test.rb
276
- - test/fixtures/breadcrumb.html
277
- - test/fixtures/navigation.html
278
282
  - test/test_helper.rb
279
- - test/controllers/seiten/pages_controller_test.rb
280
- - test/controllers/posts_controller_test.rb
281
- - test/controllers/helper_methods_test.rb
282
- - test/controllers/pages_controller_test.rb