Sha256: 94649921c2858104d8202e0be90314745429eb91b03135168fd17c3f3eb4b587
Contents?: true
Size: 421 Bytes
Versions: 2
Compression:
Stored size: 421 Bytes
Contents
require 'spec_helper' require 'goliath/runner' require 'irb' describe Goliath::Console do before(:each) do @server = Goliath::Server.new end describe 'run!' do it "starts a irb session" do expect(Object).to receive(:send).with(:define_method, :goliath_server) expect(IRB).to receive(:start) expect(@server).to receive(:load_config) Goliath::Console.run!(@server) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
goliath-1.0.7 | spec/unit/console_spec.rb |
goliath-1.0.6 | spec/unit/console_spec.rb |