Sha256: ab59ac9dcb5c5e68ff8b1a318d92483a0d564ee526bb8ccd23555b161ea7c74a
Contents?: true
Size: 485 Bytes
Versions: 62
Compression:
Stored size: 485 Bytes
Contents
require 'spec_helper' describe Softcover::Commands::Server do before(:all) { generate_book } after(:all) { remove_book } before { chdir_to_book } it '#listen_for_changes' do expect { subject.listen_for_changes }.to_not raise_error(Exception) end it '#run' do Softcover::App.should_receive :run! port = 5000 bind = "localhost" subject.run port, bind expect(Softcover::App.port).to eq port expect(Softcover::App.bind).to eq bind end end
Version data entries
62 entries across 62 versions & 1 rubygems