fix some regressions caused by the newer acts_as_list gem

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
Reinier Balt 2011-09-13 11:15:14 +02:00
parent 92c8cfe61a
commit 4927f39594
9 changed files with 85 additions and 72 deletions

11
features/support/hooks.rb Normal file
View file

@ -0,0 +1,11 @@
AfterStep('@pause') do
print "Press Return to continue..."
STDIN.getc
end
Before('@clear_cookies') do
cookies = selenium.cookies
cookies.split(';').each do | cookie |
selenium.delete_cookie(cookie)
end
end