cucumber-rails 0.1.1.rc5 → 0.1.1.rc6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1.rc5
1
+ 0.1.1.rc6
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cucumber-rails}
8
- s.version = "0.1.1.rc5"
8
+ s.version = "0.1.1.rc6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dennis Bl\303\266te", "Aslak Helles\303\270y", "Rob Holland"]
@@ -8,9 +8,3 @@ require 'cucumber/rails/rspec'
8
8
  require 'cucumber/rails/world'
9
9
  require 'cucumber/rails/active_record'
10
10
  require 'cucumber/web/tableish'
11
- <% if driver == :webrat -%>
12
- require 'cucumber/webrat/element_locator' # Deprecated in favor of #tableish - remove this line if you don't use #element_at or #table_at
13
- <% end -%>
14
- <% if driver == :capybara -%>
15
- require 'cucumber/rails/capybara_javascript_emulation' # Lets you click links with onclick javascript handlers without using @culerity or @javascript
16
- <% end -%>
@@ -1,6 +1,7 @@
1
1
  require 'capybara/rails'
2
2
  require 'capybara/cucumber'
3
3
  require 'capybara/session'
4
+ require 'cucumber/rails/capybara_javascript_emulation' # Lets you click links with onclick javascript handlers without using @culerity or @javascript
4
5
  # Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In
5
6
  # order to ease the transition to Capybara we set the default here. If you'd
6
7
  # prefer to use XPath just remove this line and adjust any selectors in your
@@ -1,5 +1,6 @@
1
1
  require 'webrat'
2
2
  require 'webrat/core/matchers'
3
+ require 'cucumber/webrat/element_locator' # Deprecated in favor of #tableish - remove this line if you don't use #element_at or #table_at
3
4
 
4
5
  Webrat.configure do |config|
5
6
  config.mode = :rails
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.rc5
4
+ version: 0.1.1.rc6
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Dennis Bl\xC3\xB6te"