diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-02-14 19:06:56 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-02-14 19:06:56 +0000 |
commit | 18c257234866e0390e2bd268f594de746a9190a2 (patch) | |
tree | 23809c99e52eeb7cef4a037fe957d0930969fa98 /spec/script/mailin-spec.rb | |
parent | d16f2f8242352a2d3c0350275110453dd6ac6b12 (diff) | |
parent | 2c5749d4d92e6601856cef6f7e2201d06d885183 (diff) |
Merge branch 'release/0.7' into develop
Diffstat (limited to 'spec/script/mailin-spec.rb')
-rw-r--r-- | spec/script/mailin-spec.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/spec/script/mailin-spec.rb b/spec/script/mailin-spec.rb deleted file mode 100644 index d80789635..000000000 --- a/spec/script/mailin-spec.rb +++ /dev/null @@ -1,21 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') -require "external_command" - -def mailin_test(email_filename) - Dir.chdir Rails.root do - xc = ExternalCommand.new("script/mailin") - xc.run(load_file_fixture(email_filename)) - xc.err.should == "" - return xc - end -end - -describe "When importing mail into the application" do - - it "should not produce any output and should return a 0 code on importing a plain email" do - r = mailin_test("incoming-request-plain.email") - r.status.should == 0 - r.out.should == "" - end - -end
\ No newline at end of file |