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
rescue LoadError
puts "Skipping ActionView specs..."
rescue LoadError => error
puts "Skipping ActionView specs: #{error}"
end

View file

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

View file

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

View file

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

View file

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