Skip to content

Commit

Permalink
Empty view files to deal with RSpec 2 & Rails 3's requirement for them.
Browse files Browse the repository at this point in the history
  • Loading branch information
aughr committed Sep 8, 2010
1 parent 36082a2 commit b369a55
Show file tree
Hide file tree
Showing 41 changed files with 5 additions and 0 deletions.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -3,6 +3,11 @@
require 'rspec'
require 'rspec/rails'

# RSpec 2 doesn't fight Rails's requiring a template for rendering,
# even in controller specs, so we need to provide empty ones in order to not have
# just about every test fail.
ActionController::Base.view_paths = [File.join(File.dirname(__FILE__), "app/views")]

RSpec.configure do |config|
config.use_transactional_fixtures = true
config.use_instantiated_fixtures = false
Expand Down

0 comments on commit b369a55

Please sign in to comment.