this stopped working because there is a new way to render views by default in spec_helper.rb
This commit is contained in:
parent
304c33f19e
commit
1da029a22f
2 changed files with 2 additions and 4 deletions
|
|
@ -5,7 +5,6 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe PublicsController do
|
||||
render_views
|
||||
let(:fixture_path) { File.join(Rails.root, 'spec', 'fixtures')}
|
||||
before do
|
||||
@user = alice
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ Spork.prefork do
|
|||
config.include Devise::TestHelpers, :type => :controller
|
||||
config.mock_with :rspec
|
||||
|
||||
config.render_views
|
||||
config.use_transactional_fixtures = true
|
||||
|
||||
config.before(:each) do
|
||||
|
|
@ -89,9 +90,7 @@ Spork.prefork do
|
|||
Postzord::Dispatcher::Private.any_instance.stub(:deliver_to_remote)
|
||||
end
|
||||
|
||||
config.before(:each, :type => :controller) do
|
||||
self.class.render_views
|
||||
end
|
||||
|
||||
|
||||
config.after(:all) do
|
||||
`rm -rf #{Rails.root}/tmp/uploads/*`
|
||||
|
|
|
|||
Loading…
Reference in a new issue