spec/spec_helper.rb in sanitize_email-1.0.10 vs spec/spec_helper.rb in sanitize_email-1.0.11
- old
+ new
@@ -1,12 +1,19 @@
-require 'sanitize_email'
-require 'sanitize_email/rspec_matchers'
+# Copyright (c) 2008-13 Peter H. Boling of RailsBling.com
+# Released under the MIT license
require 'launchy'
require 'mail'
require 'rails'
require 'letter_opener'
require 'action_mailer'
require 'email_spec'
+
+# For code coverage, must be required before all application / gem / library code.
+require 'coveralls'
+Coveralls.wear!
+
+require 'sanitize_email'
+require 'sanitize_email/rspec_matchers'
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}