Permalink
Browse files

Added more tags to cucumber

  • Loading branch information...
1 parent 63bc602 commit be50d8139467b06d35950c477c5fdfeae8334dcf @jnicklas jnicklas committed Nov 18, 2009
Showing with 13 additions and 1 deletion.
  1. +13 −1 lib/capybara/cucumber.rb
@@ -15,6 +15,18 @@
Capybara.current_driver = Capybara.javascript_driver
end
-After('@javascript') do
+Before('@selenium') do
+ Capybara.current_driver = :selenium
+end
+
+Before('@culerity') do
+ Capybara.current_driver = :culerity
+end
+
+Before('@rack_test') do
+ Capybara.current_driver = :rack_test
+end
+
+After do
Capybara.use_default_driver
end

0 comments on commit be50d81

Please sign in to comment.