diff --git a/features-skeleton/support/hooks.rb b/features-skeleton/support/hooks.rb index e9e6517..380ad53 100644 --- a/features-skeleton/support/hooks.rb +++ b/features-skeleton/support/hooks.rb @@ -43,5 +43,5 @@ # Quit the selenium driver from the example tests. at_exit do - $driver.quit if $driver + end diff --git a/tests/features/support/hooks.rb b/tests/features/support/hooks.rb index 4790f6d..a841bed 100644 --- a/tests/features/support/hooks.rb +++ b/tests/features/support/hooks.rb @@ -43,5 +43,5 @@ # Quit the selenium driver from the example tests. at_exit do - $driver.quit if $driver + end