From a77243d9f6d6a7abe9fd3f966536420ac3c73981 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 14 Feb 2013 18:14:57 +0000 Subject: Rename spec file so that it's picked up by rake spec. --- spec/script/mailin-spec.rb | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 spec/script/mailin-spec.rb (limited to 'spec/script/mailin-spec.rb') 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 -- cgit v1.2.3