Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix broken specs under Ruby HEAD

  • Loading branch information...
commit 08321a28b17cbaf1f059cd67586fcd88518fbb50 1 parent 6be986a
Nils Jonsson authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  spec/cape/dsl_spec.rb
  2. +1 −1  spec/cape_spec.rb
2  spec/cape/dsl_spec.rb
View
@@ -57,7 +57,7 @@ def do_mirror_rake_tasks(*arguments, &block)
lambda {
do_mirror_rake_tasks task_expression, task_expression
}.should raise_error(ArgumentError,
- 'wrong number of arguments (2 for 1)')
+ /^wrong number of arguments \(2 for .+\)$/)
end
end
2  spec/cape_spec.rb
View
@@ -3,7 +3,7 @@
require 'cape/dsl'
describe Cape do
- Cape::DSL.instance_methods.each do |m|
+ Cape::DSL.public_instance_methods.each do |m|
it { should respond_to(m) }
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.