aboutsummaryrefslogtreecommitdiff
path: root/bin/test-website
diff options
context:
space:
mode:
authorPjotr Prins2016-10-09 11:32:52 +0000
committerPjotr Prins2016-10-09 11:32:52 +0000
commit6e1e943323a101cf6c2980ae62d8329e1ab77d96 (patch)
tree4970900228eb067a5c78d7a12da24c1c7d213b5c /bin/test-website
parent8d1f6f1654965dde737003595b1b4cc0b2c77a8f (diff)
parenta8e93270ceb193f5184245edac8bf928e7a668c2 (diff)
downloadgenenetwork2-6e1e943323a101cf6c2980ae62d8329e1ab77d96.tar.gz
Merge branch 'mechanize' into testing
Diffstat (limited to 'bin/test-website')
-rwxr-xr-xbin/test-website12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/test-website b/bin/test-website
index c9a72a5e..be223d94 100755
--- a/bin/test-website
+++ b/bin/test-website
@@ -52,12 +52,12 @@ opts = OptionParser.new do |o|
options[:link_checker] = true
end
- o.on('--navigation-test', 'Check for navigation') do
- options[:navigation_test] = true
+ o.on('--navigation', 'Check for navigation') do
+ options[:navigation] = true
end
- o.on('--mapping-test', 'Check for mapping') do
- options[:mapping_test] = true
+ o.on('--mapping', 'Check for mapping') do
+ options[:mapping] = true
end
o.on('--skip-broken', 'Skip tests that are known to be broken') do
@@ -98,7 +98,7 @@ $: << File.join(libpath,'test/lib')
require 'main_web_functionality'
-if options[:all] or options[:mapping_test]
+if options[:all] or options[:mapping]
require 'mapping'
end
@@ -106,6 +106,6 @@ if options[:all] or options[:link_checker]
require 'link_checker'
end
-if options[:all] or options[:navigation_test]
+if options[:all] or options[:navigation]
require 'navigation'
end