mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-06 16:01:47 +01:00
add test for collapsing project containers
This commit is contained in:
parent
3fd2b175f5
commit
42566b6fee
6 changed files with 89 additions and 23 deletions
|
|
@ -6,8 +6,10 @@ module NavigationHelpers
|
|||
# step definition in web_steps.rb
|
||||
#
|
||||
def path_to(page_name)
|
||||
options = @mobile_interface ? {:format => :m} : {}
|
||||
options = {:locale => @locale}.merge(options) if @locale
|
||||
options = {}
|
||||
options[:format] = :m if @mobile_interface
|
||||
options[:locale] = @locale if @locale
|
||||
options[:group_view_by] = @group_view_by if @group_view_by
|
||||
@source_view = nil
|
||||
|
||||
case page_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue