Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

Commit

Permalink
Typo in method name
Browse files Browse the repository at this point in the history
  • Loading branch information
Harold Giménez committed Jan 12, 2011
1 parent 8b8bdaf commit 702d365
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ end

task :cucumber => [:gemspec, :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`"
Expand All @@ -206,14 +206,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 => [:gemspec, :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?
Expand Down

0 comments on commit 702d365

Please sign in to comment.