Permalink
Browse files

Fix broken specs under JRuby

  • Loading branch information...
1 parent 08321a2 commit bc60d470299934a7bca2fcbebba1ee009f8d0f84 @njonsson committed May 13, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 spec/cape/dsl_spec.rb
View
@@ -56,8 +56,7 @@ def do_mirror_rake_tasks(*arguments, &block)
specify do
lambda {
do_mirror_rake_tasks task_expression, task_expression
- }.should raise_error(ArgumentError,
- /^wrong number of arguments \(2 for .+\)$/)
+ }.should raise_error(ArgumentError, /^wrong number of arguments/)
end
end

0 comments on commit bc60d47

Please sign in to comment.