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:
parent
59b7099293
commit
562201f7dd
5 changed files with 9 additions and 10 deletions
|
@ -20,6 +20,6 @@ begin
|
|||
end
|
||||
end
|
||||
|
||||
rescue LoadError
|
||||
puts "Skipping ActionView specs..."
|
||||
rescue LoadError => error
|
||||
puts "Skipping ActionView specs: #{error}"
|
||||
end
|
||||
|
|
|
@ -162,6 +162,6 @@ EOS
|
|||
end
|
||||
end
|
||||
|
||||
rescue LoadError
|
||||
puts "Skipping ActiveRecord specs..."
|
||||
rescue LoadError => error
|
||||
puts "Skipping ActiveRecord specs: #{error}"
|
||||
end
|
||||
|
|
|
@ -22,6 +22,6 @@ begin
|
|||
end
|
||||
end
|
||||
|
||||
rescue LoadError
|
||||
puts "Skipping ActiveSupport specs..."
|
||||
rescue LoadError => error
|
||||
puts "Skipping ActiveSupport specs: #{error}"
|
||||
end
|
||||
|
|
|
@ -100,6 +100,6 @@ EOS
|
|||
end
|
||||
end
|
||||
|
||||
rescue LoadError
|
||||
puts "Skipping MongoMapper specs..."
|
||||
rescue LoadError => error
|
||||
puts "Skipping MongoMapper specs: #{error}"
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue