Sha256: 6133280ac9b07d729c68f91cf0ffc6ba1a56f5646bdba9c7609739e9391c8f7b

Contents?: true

Size: 521 Bytes

Versions: 6

Compression:

Stored size: 521 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
  def index
    "The index"
  end
end

describe "Adapter" do
  ramaze ramaze_options.merge( :port => 7007, :spawn => 10, :mapping => {'/' => TCAdapterController} )

  describe "multiple" do
    it "simple request" do
      browser do
        get('/').should == "The index"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ramaze-0.1.2 spec/ramaze/adapter.rb
ramaze-0.1.1 spec/ramaze/adapter.rb
ramaze-0.1.3 spec/ramaze/adapter.rb
ramaze-0.1.4 spec/ramaze/adapter.rb
ramaze-0.2.0 spec/ramaze/adapter.rb
ramaze-0.2.1 spec/ramaze/adapter.rb