Skip to content

Commit

Permalink
Updated rcov options, added better debug message to base
Browse files Browse the repository at this point in the history
  • Loading branch information
dbalatero committed Apr 29, 2010
1 parent 005fc4b commit c9a9d90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Rakefile
Expand Up @@ -30,6 +30,7 @@ Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
spec.rcov_opts = ['--exclude', 'spec,lib/monster_mash/instance_exec.rb']
end

task :spec => :check_dependencies
Expand Down
2 changes: 1 addition & 1 deletion lib/monster_mash/base.rb
Expand Up @@ -104,7 +104,7 @@ def self.execute(http_method, hydra, block, *args, &setup_block)
else
raise MonsterMash::InvalidRequest,
"Invalid request definition for #{name}:\n" <<
request.errors.join('\n\n')
request.errors.collect { |e| " * #{e}" }.join("\n")
end
end
end
Expand Down

0 comments on commit c9a9d90

Please sign in to comment.