We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cebc66 commit 114bc62Copy full SHA for 114bc62
2 files changed
app/controllers/static_controller.rb
@@ -34,6 +34,6 @@ def newest_version
34
protected
35
36
def platform
37
- request.user_agent.downcase
+ request.user_agent.nil? ? nil : request.user_agent.downcase
38
end
39
features/support/env.rb
@@ -40,7 +40,6 @@
40
41
Before do
42
DatabaseCleaner[:mongo_mapper].clean
43
- page.driver.header('User-Agent', "Mac")
44
45
46
# You may also want to configure DatabaseCleaner to use different strategies for certain features and scenarios.
0 commit comments