Sha256: e3cb16a0f8cd8159e1422041cca1c77b6038c3a5cc05969a3caec8df20006b63
Contents?: true
Size: 541 Bytes
Versions: 1
Compression:
Stored size: 541 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper.rb' class TestBackdrop < Test::Unit::TestCase def setup end def test_calling_runner # Daemon.expects(:daemonize).returns(true) # Backdrop::Runner.expects(:run).raises(RuntimeError) # Backdrop::Runner.expects(:start).returns(nil) # Backdrop::Runner.expects(:stop).returns(nil) # # server = Backdrop::Server.new(File.dirname(__FILE__) + '/test.yml') # server.pidfile.expects(:ensure_empty!).returns(true) # server.start end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cicloid-backdrop-0.1.0 | test/test_backdrop.rb |