Permalink
Browse files

Create engine depending on rails_sandbox_mocha_chai

Also set the default template to chai
  • Loading branch information...
1 parent 1767c1b commit bdf09492430823e920436906b9a5ecf8accf8799 @rosenfeld committed May 25, 2012
Showing with 6 additions and 1 deletion.
  1. +2 −0 konacha_reuse.gemspec
  2. +4 −1 lib/konacha_reuse.rb
View
@@ -14,4 +14,6 @@ Gem::Specification.new do |gem|
gem.name = "konacha_reuse"
gem.require_paths = ["lib"]
gem.version = KonachaReuse::VERSION
+
+ gem.add_dependency 'rails_sandbox_mocha_chai'
end
View
@@ -1,5 +1,8 @@
require "konacha_reuse/version"
+require 'rails_sandbox_mocha_chai'
module KonachaReuse
- # Your code goes here...
+ class Engine < Rails::Engine
+ config.sandbox_assets.template = 'mocha_chai/runner'
+ end
end

0 comments on commit bdf0949

Please sign in to comment.