Skip to content

Commit

Permalink
remove further references to extension text filters
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnflyer committed Mar 4, 2012
1 parent f96431a commit 13ec1c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/models/page_part_spec.rb
Expand Up @@ -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
Expand Down Expand Up @@ -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 13ec1c2

Please sign in to comment.