Permalink
Browse files

Fix broken specs under Ruby HEAD

  • Loading branch information...
1 parent 6be986a commit 08321a28b17cbaf1f059cd67586fcd88518fbb50 @njonsson committed May 13, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/cape/dsl_spec.rb
  2. +1 −1 spec/cape_spec.rb
View
2 spec/cape/dsl_spec.rb
@@ -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
View
2 spec/cape_spec.rb
@@ -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

0 comments on commit 08321a2

Please sign in to comment.