1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Streamlined error reporting for the extension specs

This commit is contained in:
Mike Dvorkin 2011-11-23 21:33:03 -08:00
parent 59b7099293
commit 562201f7dd
5 changed files with 9 additions and 10 deletions

View file

@ -20,6 +20,6 @@ begin
end end
end end
rescue LoadError rescue LoadError => error
puts "Skipping ActionView specs..." puts "Skipping ActionView specs: #{error}"
end end

View file

@ -162,6 +162,6 @@ EOS
end end
end end
rescue LoadError rescue LoadError => error
puts "Skipping ActiveRecord specs..." puts "Skipping ActiveRecord specs: #{error}"
end end

View file

@ -22,6 +22,6 @@ begin
end end
end end
rescue LoadError rescue LoadError => error
puts "Skipping ActiveSupport specs..." puts "Skipping ActiveSupport specs: #{error}"
end end

View file

@ -100,6 +100,6 @@ EOS
end end
end end
rescue LoadError rescue LoadError => error
puts "Skipping MongoMapper specs..." puts "Skipping MongoMapper specs: #{error}"
end end

View file

@ -87,6 +87,5 @@ EOS
end end
rescue LoadError => error rescue LoadError => error
puts "Missing mongoid gem, skipping mongoid specs" puts "Skipping Mongoid specs: #{error}"
puts "Skipping mongoid specs: #{error}"
end end