aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib/tmail_extensions_spec.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-06-14 10:19:45 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-06-14 10:19:45 +0100
commitc78e3b2aba67ad9844175e1e27016692759f498a (patch)
treeb2555bab443ce173356c49dffeb7ebcc1224ea3d /spec/lib/tmail_extensions_spec.rb
parent557a25aec4f41ebaba67349011052e04e1c68f9f (diff)
parentf2b779ec4e095afeb1b1da2a92a335069c59dccd (diff)
merge WTDK changes to master (preparation for closing WTDK branch and deploying WTDK website straight from master)
Diffstat (limited to 'spec/lib/tmail_extensions_spec.rb')
-rw-r--r--spec/lib/tmail_extensions_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/lib/tmail_extensions_spec.rb b/spec/lib/tmail_extensions_spec.rb
index 41e8c8f4e..c647fe522 100644
--- a/spec/lib/tmail_extensions_spec.rb
+++ b/spec/lib/tmail_extensions_spec.rb
@@ -23,8 +23,7 @@ describe "when using TMail" do
end
it 'should parse multiple to addresses with unqoted display names' do
- example_file = File.join(Spec::Runner.configuration.fixture_path, 'multiple-unquoted-display-names.email')
- mail = TMail::Mail.parse(File.read(example_file))
+ mail = TMail::Mail.parse(load_file_fixture('multiple-unquoted-display-names.email'))
mail.to.should == ["request-66666-caa77777@whatdotheyknow.com", "foi@example.com"]
end