Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 24 lines (19 sloc) 0.563 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
require 'spec_helper'

if RUBY_VERSION >= "1.9"
  describe Webmachine::Adapters::Reel do
    let(:configuration) { Webmachine::Configuration.default }
    let(:dispatcher) { Webmachine::Dispatcher.new }
    let(:adapter) do
      described_class.new(configuration, dispatcher)
    end

    it 'inherits from Webmachine::Adapter' do
      adapter.should be_a_kind_of(Webmachine::Adapter)
    end

    it 'implements #run' do
      adapter.should respond_to(:run)
    end

    it 'implements #process' do
      adapter.should respond_to(:process)
    end
  end
end
Something went wrong with that request. Please try again.