public
Description: Resources for rspec developers/contributors
Homepage: http://rspec.info/
Clone URL: git://github.com/dchelimsky/rspec-dev.git
Search Repo:
Patch from Matt Peterson to add failing example for 
http://rspec.lighthouseapp.com/projects/5645/tickets/440.
dchelimsky (author)
Tue Jul 15 21:49:36 -0700 2008
commit  9c8a511f81abcbde7555b29304243e6fce325d2a
tree    234d56afaec885ea4060a119ccc4b9bd4ecad349
parent  53cb8830ab8d0eb6b6b22fb3ab821f28af18cca1
...
1
2
3
 
 
 
 
 
 
 
4
...
1
2
3
4
5
6
7
8
9
10
11
0
@@ -1,4 +1,11 @@
0
 # Filters added to this controller will be run for all controllers in the application.
0
 # Likewise, all the methods added will be available for all controllers.
0
 class ApplicationController < ActionController::Base
0
+ before_filter :i_should_only_be_run_once,
0
+ :only => 'action_with_ac_base_before_filter_checking_multi_require_bug'
0
+
0
+ def i_should_only_be_run_once
0
+ true
0
+ end
0
+ private :i_should_only_be_run_once
0
 end

Comments

    No one has commented yet.