Fixed tests failing in preview

This commit is contained in:
Godwin
2015-10-11 08:56:02 -07:00
parent 010d005631
commit 03bd996be0
46 changed files with 690 additions and 683 deletions
+2
View File
@@ -11,6 +11,8 @@ module NavigationHelpers
path = "/conferences/#{@last_conference.slug}/edit/"
when /^(workshops|stats|broadcast)$/i
path = "/conferences/#{@last_conference.slug}/#{path}/"
when /^(stats.xls)$/i
path = "/conferences/#{@last_conference.slug}/stats.xls"
end
if path.is_a?(Symbol)