Changeset 1655

Show
Ignore:
Timestamp:
02/24/08 13:56:00 (3 months ago)
Author:
pdcawley
Message:

Fixed the failing comment_spec test. Not sure quite why it was failing in the first place though.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/spec/models/comment_spec.rb

    r1623 r1655  
    33require 'dns_mock' 
    44 
    5 class CommentTest < Test::Unit::TestCase 
    6   def setup 
     5describe Comment do 
     6  before(:each) do 
    77    CachedModel.cache_reset 
    88  end 
     
    126126    # Yes, this is ugly. 
    127127    ['','textile','markdown','smartypants','markdown smartypants'].each do |filter| 
    128       this_blog.comment_text_filter = filter 
     128      Blog.default.comment_text_filter = filter 
    129129 
    130130      assert c.save 
  • trunk/spec/spec.opts

    r1571 r1655  
    11--colour 
    2 --format 
    3 progress 
    4 --loadby 
    5 mtime 
     2--format progress 
     3--loadby mtime 
    64--reverse 
    7 --backtrace