diff options
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/fcgi_fixes_spec.rb | 14 | ||||
-rw-r--r-- | spec/lib/sendmail_return_path_spec.rb | 2 |
2 files changed, 1 insertions, 15 deletions
diff --git a/spec/lib/fcgi_fixes_spec.rb b/spec/lib/fcgi_fixes_spec.rb deleted file mode 100644 index edc1c9d98..000000000 --- a/spec/lib/fcgi_fixes_spec.rb +++ /dev/null @@ -1,14 +0,0 @@ -# This is a test of the monkey patches in lib/fcgi_fixes.rb - -require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') - -require 'railties/lib/fcgi_handler.rb' - -describe "when doing FastCGI" do - - it "should have fixed dynamic FastCGI bug" do - RailsFCGIHandler::SIGNALS['TERM'].should == :exit - end - -end - diff --git a/spec/lib/sendmail_return_path_spec.rb b/spec/lib/sendmail_return_path_spec.rb index 0a9f60953..f1a91240b 100644 --- a/spec/lib/sendmail_return_path_spec.rb +++ b/spec/lib/sendmail_return_path_spec.rb @@ -22,7 +22,7 @@ describe "when sending email with an altered return path" do mock_smtp.should_receive(:start).once.and_yield(mock_smtp_session) # the second parameter to the SMTP session is the sender (return path) - mock_smtp_session.should_receive(:sendmail).once.with(anything(), ["test@localhost"], anything()) + mock_smtp_session.should_receive(:sendmail).once.with(anything(), "test@localhost", anything()) Net::SMTP.stub!(:new).and_return(mock_smtp) |