testgen 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ === Version 0.2.3 / 2011-09-30
2
+ * Fixed problem with hooks file when using Selenium
3
+
1
4
  === Version 0.2.2 / 2011-09-30
2
5
  * Created empty pages directory when pageobject driver provided
3
6
 
@@ -23,7 +23,7 @@ Feature: Adding support for the --pageobject-driver option
23
23
  When I run `testgen project sample --pageobject-driver=selenium`
24
24
  Then a file named "sample/features/support/hooks.rb" should exist
25
25
  And the file "sample/features/support/hooks.rb" should contain "require 'selenium-webdriver'"
26
- And the file "sample/features/support/hooks.rb" should contain "@browser = Selenium::Webdriver.for :firefox"
26
+ And the file "sample/features/support/hooks.rb" should contain "@browser = Selenium::WebDriver.for :firefox"
27
27
 
28
28
  Scenario: Creating the pages directory
29
29
  When I run `testgen project sample --pageobject-driver=selenium`
@@ -10,7 +10,7 @@ Before do
10
10
  @browser = Watir::Browser.new :firefox
11
11
  <% end %>
12
12
  <% if pageobject_driver.downcase == 'selenium' -%>
13
- @browser = Selenium::Webdriver.for :firefox
13
+ @browser = Selenium::WebDriver.for :firefox
14
14
  <% end %>
15
15
  end
16
16
 
@@ -1,3 +1,3 @@
1
1
  module TestGen
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: testgen
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.2
5
+ version: 0.2.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeffrey S. Morgan