-
Notifications
You must be signed in to change notification settings - Fork 937
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport fixes for specs on Ruby 1.9.3+
Avoid gems which dropped support for Ruby 1.8: - activesupport (4.0.0) requires ruby (>= 1.9.3) - rake (11.0.1) requires ruby (>= 1.9.3) Backport 6e12d7f to fix #453. Backport db7c955 to fix a brittle spec. References #958
- Loading branch information
Showing
2 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,6 +131,10 @@ def basic_email | |
|
||
describe "YAML serialization" do | ||
before(:each) do | ||
# Ensure specs don't randomly fail due to messages being generated 1 second apart | ||
time = DateTime.now | ||
DateTime.stub(:now).and_return(time) | ||
|
||
@yaml_mail = Mail::Message.new(:to => '[email protected]', | ||
:cc => '[email protected]', | ||
:bcc => '[email protected]', | ||
|