Sha256: 78ba6bc339edd693e0fcc4ff7db9ff33a4ba3e9e31bec9237a2be5a528c7d912

Contents?: true

Size: 445 Bytes

Versions: 4

Compression:

Stored size: 445 Bytes

Contents

#          Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

require 'spec/helper'

class TCAdapterController < Ramaze::Controller
  map '/'

  def index
    "The index"
  end
end

ramaze ramaze_options.merge(:spawn => 10)

describe "Adapter" do
  behaves_like "http"

  it 'should do a simple request' do
    get('/').body.should == 'The index'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ramaze-0.3.5 spec/ramaze/adapter.rb
ramaze-0.3.0 spec/ramaze/adapter.rb
ramaze-0.3.9 spec/ramaze/adapter.rb
ramaze-0.3.9.1 spec/ramaze/adapter.rb