Commit 0ac2e8caf24a3192660bb87a7dc20b90624b5267
1 parent
b63e4c24
Exists in
master
and in
29 other branches
Document explicitly programs needed to run tests
Showing
1 changed file
with
9 additions
and
0 deletions
Show diff stats
Gemfile
@@ -8,3 +8,12 @@ gem 'selenium-client', '>= 1.2.17' | @@ -8,3 +8,12 @@ gem 'selenium-client', '>= 1.2.17' | ||
8 | gem 'database_cleaner' | 8 | gem 'database_cleaner' |
9 | gem 'exception_notification', '1.0.20090728' | 9 | gem 'exception_notification', '1.0.20090728' |
10 | gem 'system_timer' | 10 | gem 'system_timer' |
11 | + | ||
12 | +def program(name) | ||
13 | + unless system("which #{name} > /dev/null") | ||
14 | + puts "W: Program #{name} is needed, but was not found in your PATH" | ||
15 | + end | ||
16 | +end | ||
17 | + | ||
18 | +program 'java' | ||
19 | +program 'firefox' |