Permalink
Browse files

remove further references to extension text filters

  • Loading branch information...
1 parent c33feaa commit 8726105e3398e15ed6b27bc47532f6536e18dc3c @saturnflyer saturnflyer committed Mar 4, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 spec/models/page_part_spec.rb
View
10 spec/models/page_part_spec.rb
@@ -15,9 +15,9 @@
end
it "should take the filter from the default filter" do
- Radiant::Config['defaults.page.filter'] = "Textile"
+ Radiant::Config['defaults.page.filter'] = "Pseudo Textile"
part = PagePart.new :name => 'new-part'
- part.filter_id.should == "Textile"
+ part.filter_id.should == "Pseudo Textile"
end
it "shouldn't override existing page_parts filters with the default filter" do
@@ -50,11 +50,11 @@
specify 'getting and setting' do
@part = page_parts(:textile_body)
original = @part.filter
- original.should be_kind_of(TextileFilter)
+ original.should be_kind_of(PseudoTextileFilter)
@part.filter.should equal(original)
- @part.filter_id = 'Markdown'
- @part.filter.should be_kind_of(MarkdownFilter)
+ @part.filter_id = 'Pseudo Markdown'
+ @part.filter.should be_kind_of(PseudoMarkdownFilter)
end
end

0 comments on commit 8726105

Please sign in to comment.