Permalink
Browse files

Added combustion

  • Loading branch information...
1 parent 979602d commit 816c1c71a2281aa61db49195fa9ea0786e5b02b4 @ivanvanderbyl ivanvanderbyl committed Jan 26, 2012
@@ -21,11 +21,8 @@ Gem::Specification.new do |gem|
gem.add_dependency("premailer", ["~> 1.7"])
gem.add_dependency("rails", ["~> 3.1"])
- gem.add_development_dependency 'rspec-core'
- gem.add_development_dependency 'rspec-expectations'
- gem.add_development_dependency 'mocha'
+ gem.add_development_dependency 'rspec'
gem.add_development_dependency 'mail'
gem.add_development_dependency 'nokogiri'
- gem.add_development_dependency 'hpricot'
gem.add_development_dependency 'combustion', '~> 0.3.1'
end
View
@@ -0,0 +1,7 @@
+require 'rubygems'
+require 'bundler'
+
+Bundler.require :default, :development
+
+Combustion.initialize!
+run Combustion::Application
@@ -1,7 +1,11 @@
-require "action_mailer-inline/version"
+require "action_mailer/inline/version"
module ActionMailer
module Inline
-
+ def self.delivering_email(message)
+
+ end
end
end
+
+ActionMailer::Base.register_interceptor(ActionMailer::Inline)
@@ -0,0 +1,3 @@
+test:
+ adapter: sqlite3
+ database: db/combustion_test.sqlite
@@ -0,0 +1,3 @@
+Rails.application.routes.draw do
+ #
+end
@@ -0,0 +1,3 @@
+ActiveRecord::Schema.define do
+ #
+end
@@ -0,0 +1 @@
+*.log
No changes.
View
@@ -6,7 +6,7 @@
Combustion.initialize! :action_controller, :action_view, :sprockets, :action_mailer
RSpec.configure do |config|
- config.mock_with :mocha
+ config.mock_with :rspec
end

0 comments on commit 816c1c7

Please sign in to comment.