Sha256: ddf38b3e55fc7edf67cb2622e9b744f5ec7f49bf1b0b51e10c60930c85178ee9
Contents?: true
Size: 467 Bytes
Versions: 1
Compression:
Stored size: 467 Bytes
Contents
$:.unshift File.expand_path('../../lib', __FILE__) require 'rspec' require "action_controller/railtie" require 'gaffe' RSpec.configure do |config| config.before(:each) do Rails.stub(:root).and_return(RAILS_ROOT) end end # We need a fake "ApplicationController" because Gaffe's default controller inherits from it class ApplicationController < ActionController::Base end # We need Rails.root RAILS_ROOT = Pathname.new(File.expand_path('../../', __FILE__))
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gaffe-0.2 | spec/spec_helper.rb |