diff options
author | Robin Houston <robin@lenny.robin> | 2011-06-10 23:39:01 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-06-10 23:39:01 +0100 |
commit | 383c2b147b1a1921f893c7202e6ee6bb2427d09e (patch) | |
tree | a32a4346261c049b3cd7251e60d42309d6267973 /spec/lib | |
parent | 91cdb2663d1d39fb1dbd049f795c1800c7e20ddb (diff) |
Move the non-fixture files in spec/fixtures to their own subdirectory,
so that we can run rake spec:db:fixtures:load without it choking on
the files that aren't fixtures.
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/tmail_extensions_spec.rb | 3 |
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 |