Sha256: b919e0c3e0ba93874f952308fae2925c81d0cc191cae59d20a41571d8600b8c4

Contents?: true

Size: 338 Bytes

Versions: 72

Compression:

Stored size: 338 Bytes

Contents

require 'spec_helper'

describe Spork::Server do
  describe "a fake server" do
    before(:each) do
      @fake_run_strategy = FakeRunStrategy.new
      @server = Spork::Server.new(:run_strategy => @fake_run_strategy)
    end
    
    it "accepts a port" do
      @server.port = 12345
      @server.port.should == 12345
    end
  end
end

Version data entries

72 entries across 72 versions & 3 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.7.4 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.7.3 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
spork-1.0.0rc4 spec/spork/server_spec.rb
spork-1.0.0rc4-x86-mswin32 spec/spork/server_spec.rb
spork-1.0.0rc4-x86-mingw32 spec/spork/server_spec.rb
classiccms-0.7.2 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.7.1 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.7.0 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.6.9 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.6.8 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.6.7 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.6.6 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.6.5 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.6.4 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.6.3 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.6.2 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.6.1 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.6.0 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb
classiccms-0.5.17 vendor/bundle/gems/spork-0.9.0/spec/spork/server_spec.rb