public
Rubygem
Description: RSpec extension library for Ruby on Rails
Homepage:
Clone URL: git://github.com/dchelimsky/rspec-rails.git
use require_dependency instead of require to prevent application.rb from being 
loaded twice [#440 state:resolved milestone:"1.1.5"]
brandon (author)
Fri Jul 18 07:21:51 -0700 2008
David Chelimsky (committer)
Fri Jul 18 07:43:36 -0700 2008
commit  86afd94e57af4eb5e79a35dc781b7d2899aa0bc0
tree    2b325589e87e542ec3747c2e7541dc39969ebd4b
parent  036020d0a4bc62233bc999cdc6dd040a3e68f355
...
1
2
3
 
4
5
6
...
1
2
 
3
4
5
6
0
@@ -1,6 +1,6 @@
0
 silence_warnings { RAILS_ENV = "test" }
0
 
0
-require 'application'
0
+require_dependency 'application'
0
 require 'action_controller/test_process'
0
 require 'action_controller/integration'
0
 require 'active_record/fixtures' if defined?(ActiveRecord::Base)
...
219
220
221
222
223
224
225
226
...
219
220
221
 
 
222
223
224
0
@@ -219,8 +219,6 @@ end
0
     integrate_views if mode == 'integration'
0
     
0
     it "should only have a before filter inherited from ApplicationController run once..." do
0
-      pending("fix to http://rspec.lighthouseapp.com/projects/5645/tickets/440")
0
-      
0
       controller.should_receive(:i_should_only_be_run_once).once
0
       get :action_with_inherited_before_filter
0
     end

Comments