Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Jul 1, 2010
1 parent 8018ca8 commit 59e01dd
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 5 deletions.
7 changes: 7 additions & 0 deletions examples/python/README.textile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
h1. WARNING - Experimental

The Python support is experimental. Don't expect it to work.
Please help fix it or head over to a more mature library:

* http://github.com/gabrielfalcao/lettuce/
* http://wiki.github.com/heynemann/pyccuracy/
7 changes: 7 additions & 0 deletions examples/ruby2python/README.textile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
h1. WARNING - Experimental

The Python support is experimental. Don't expect it to work.
Please help fix it or head over to a more mature library:

* http://github.com/gabrielfalcao/lettuce/
* http://wiki.github.com/heynemann/pyccuracy/
2 changes: 1 addition & 1 deletion examples/watir/features/search.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Feature: Search
When I search for "cucumber github"
Then I should see
"""
written in Ruby
GitHub
"""
2 changes: 1 addition & 1 deletion examples/webrat/features/search.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Feature: Search
When I search for "cucumber github"
Then I should see
"""
BDD that talks to domain experts first and code second
GitHub
"""
4 changes: 2 additions & 2 deletions examples/webrat/features/support/env.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
require 'webrat'
require 'spec'
require 'rspec'

Webrat.configure do |config|
config.mode = :mechanize
end

class WebratWorld
include Spec::Matchers
include RSpec::Matchers
include Webrat::Methods
include Webrat::Matchers
end
Expand Down
2 changes: 1 addition & 1 deletion gem_tasks/examples.rake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
desc 'Run all exmples'
task :examples do
Dir['examples/*'].each do |example_dir|
next if !File.directory?(example_dir) || %w{fixtures/junit examples/i18n examples/python examples/ruby2python fixtures/self_test examples/steps_library examples/tickets}.index(example_dir)
next if !File.directory?(example_dir) || %w{examples/i18n examples/python examples/ruby2python}.index(example_dir)
puts "Running #{example_dir}"
Dir.chdir(example_dir) do
sh "rake cucumber"
Expand Down

0 comments on commit 59e01dd

Please sign in to comment.