From fc44375ef78cce1f420ea0a2bf37c09ba655ae60 Mon Sep 17 00:00:00 2001 From: Jo Liss Date: Thu, 29 Dec 2011 18:45:58 +0100 Subject: [PATCH] Improve API documentation --- lib/capybara/dsl.rb | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/capybara/dsl.rb b/lib/capybara/dsl.rb index c938a309..21ec4fbc 100644 --- a/lib/capybara/dsl.rb +++ b/lib/capybara/dsl.rb @@ -70,7 +70,7 @@ module Capybara ## # - # The current Capybara::Session base on what is set as Capybara.app and Capybara.current_driver + # The current Capybara::Session based on what is set as Capybara.app and Capybara.current_driver # # @return [Capybara::Session] The currently used session # @@ -120,8 +120,7 @@ module Capybara ## # - # Shortcut to working in a different session. This is useful when Capybara is included - # in a class or module. + # Shortcut to working in a different session. # def using_session(name, &block) Capybara.using_session(name, &block) @@ -129,8 +128,7 @@ module Capybara ## # - # Shortcut to working in a different session. This is useful when Capybara is included - # in a class or module. + # Shortcut to using a different wait time. # def using_wait_time(seconds, &block) Capybara.using_wait_time(seconds, &block) @@ -138,8 +136,7 @@ module Capybara ## # - # Shortcut to accessing the current session. This is useful when Capybara is included in a - # class or module. + # Shortcut to accessing the current session. # # class MyClass # include Capybara::DSL