Sha256: a66edb1c07fca567dda190798db0e1c24b27c126c83fb7c0a740a65a14fc987a
Contents?: true
Size: 600 Bytes
Versions: 2
Compression:
Stored size: 600 Bytes
Contents
require "spec_helper" begin describe Webmachine::Adapters::Mongrel 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 described_class.instance_methods(false).map {|m| m.to_sym }.should include :run end end rescue LoadError warn "Platform is #{RUBY_PLATFORM}: skipping mongrel adapter spec." end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webmachine-0.4.1 | pkg/webmachine-0.4.0/spec/webmachine/adapters/mongrel_spec.rb |
webmachine-0.4.0 | spec/webmachine/adapters/mongrel_spec.rb |