Skip to content

Commit

Permalink
Fix passing of args to spec task.
Browse files Browse the repository at this point in the history
  • Loading branch information
oggy committed Jan 8, 2012
1 parent d6b3eea commit 8e0f05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ritual.rb
Expand Up @@ -79,7 +79,7 @@ def extensions

def spec_task(*args, &block)
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(&block)
RSpec::Core::RakeTask.new(*args, &block)
rescue LoadError
begin
require 'rspec/rake/spectask'
Expand Down

0 comments on commit 8e0f05c

Please sign in to comment.