Sha256: c0aebba18e7b4675c8b9e8af0821c969a8b7bfc3f0c9bc8a3b49ab6d308e4677

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

require 'test_helper'

module Landrush
  describe Server do
    after {
      if Server.running?
        Server.stop
      end
    }
    describe 'start/stop' do
      it 'starts and stops a daemon' do
        hush { Server.start }

        Server.running?.must_equal true

        hush { Server.stop }

        Server.running?.must_equal false
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
landrush-0.3.0 test/landrush/server_test.rb