Sha256: 7031b27643448d3640f0b2ab0bf07f49c3d5736d32bd5c3bb609ad41314cf754

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

require 'spec_helper'

describe RailsBlogEngine::Filters::Base do
  let(:filter) { RailsBlogEngine::Filters::Base.new }

  describe "#process" do
    it "raises an error if not overridden" do
      lambda do
        filter.process("text", {})
      end.should raise_error(/override/)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_blog_engine-0.0.4 spec/lib/rails_blog_engine/filters/base_spec.rb
rails_blog_engine-0.0.3 spec/lib/rails_blog_engine/filters/base_spec.rb
rails_blog_engine-0.0.2 spec/lib/rails_blog_engine/filters/base_spec.rb