lib/bbq/railtie.rb in bbq-0.0.4 vs lib/bbq/railtie.rb in bbq-0.1.0
- old
+ new
@@ -1,8 +1,12 @@
require 'rails/generators'
module Bbq
class Railtie < Rails::Railtie
+ initializer "bqq.set_app" do
+ Bbq.app = Rails.application
+ end
+
rake_tasks do
load Bbq.root.join("lib/tasks/bbq.rake")
end
helper_generators = %w(test_unit rspec).collect do |test_framework|