Changeset 5276 for platform/tdiary/spec
- Timestamp:
- 01/22/08 16:38:54 (10 months ago)
- Files:
-
- 1 modified
-
platform/tdiary/spec/spec_helper.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/tdiary/spec/spec_helper.rb
r5171 r5276 7 7 8 8 attr_reader :conf 9 attr_accessor :mode 9 attr_accessor :mode, :date 10 10 11 11 def initialize 12 12 @conf = Config.new 13 13 @mode = "" 14 @date = nil 14 15 @header_procs = [] 15 16 end … … 60 61 end 61 62 end 63 62 64 def fake_plugin( name_sym, base=nil, &block ) 63 65 plugin = PluginFake.new … … 85 87 File.expand_path( File.join( paths )) 86 88 end 89 90 def anchor( s ) 91 if /^([\-\d]+)#?([pct]\d*)?$/ =~ s then 92 if $2 then 93 "?date=#$1##$2" 94 else 95 "?date=#$1" 96 end 97 else 98 "" 99 end 100 end
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)