Skip to content
Browse files

fix typo in Rakefile

  • Loading branch information...
1 parent c5cd520 commit b4f1d3a860f41aebd58e65e2473758732f19d7cc @shime shime committed Jun 6, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Rakefile
View
6 Rakefile
@@ -170,7 +170,7 @@ end
task :cucumber => [:vendor_test_gems]
-def run_rails_cucumbr_task(version, additional_cucumber_args)
+def run_rails_cucumber_task(version, additional_cucumber_args)
puts "Testing Rails #{version}"
if version.empty?
raise "No Rails version specified - make sure ENV['RAILS_VERSION'] is set, e.g. with `rake cucumber:rails:all`"
@@ -186,14 +186,14 @@ def define_rails_cucumber_tasks(additional_cucumber_args = '')
RAILS_VERSIONS.each do |version|
desc "Test integration of the gem with Rails #{version}"
task version => [:vendor_test_gems] do
- exit 1 unless run_rails_cucumbr_task(version, additional_cucumber_args)
+ exit 1 unless run_rails_cucumber_task(version, additional_cucumber_args)
end
end
desc "Test integration of the gem with all Rails versions"
task :all do
results = RAILS_VERSIONS.map do |version|
- run_rails_cucumbr_task(version, additional_cucumber_args)
+ run_rails_cucumber_task(version, additional_cucumber_args)
end
exit 1 unless results.all?

0 comments on commit b4f1d3a

Please sign in to comment.
Something went wrong with that request. Please try again.