@ -20,6 +20,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -35,6 +36,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -50,6 +52,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -65,6 +68,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -80,6 +84,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -95,6 +100,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -246,6 +252,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -272,6 +279,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -298,6 +306,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -324,6 +333,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -346,6 +356,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -362,6 +373,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -378,6 +390,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -394,6 +407,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , users_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -410,6 +424,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -426,6 +441,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -442,6 +458,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /schemes " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About your organisation " , organisation_path , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -618,6 +635,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -646,6 +664,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -674,6 +693,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end
@ -702,6 +722,7 @@ RSpec.describe NavigationItemsHelper do
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Schemes " , " /organisations/ #{ current_user . organisation . id } /schemes " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " Users " , " /organisations/ #{ current_user . organisation . id } /users " , false ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " About this organisation " , " /organisations/ #{ current_user . organisation . id } " , true ) ,
NavigationItemsHelper :: NavigationItem . new ( " Housing providers " , " /organisations/ #{ current_user . organisation . id } /housing-providers " , false ) ,
]
]
end
end