Module: BitcoinTestnet
- Defined in:
- lib/bitcoin_testnet.rb,
lib/bitcoin_testnet/booter.rb,
lib/bitcoin_testnet/stopper.rb,
lib/bitcoin_testnet/version.rb,
lib/bitcoin_testnet/detector.rb,
lib/bitcoin_testnet/executor.rb,
lib/bitcoin_testnet/vcr_integrator.rb
Defined Under Namespace
Classes: Booter, Detector, Executor, Stopper, VcrIntegrator
Constant Summary
collapse
- VERSION =
"0.4.1"
- @@dir =
nil
Class Method Summary
collapse
Class Method Details
24
25
26
27
28
29
|
# File 'lib/bitcoin_testnet.rb', line 24
def self.configure_with_rspec_and_vcr!
RSpec.configure do |c|
c.before(:each) { VcrIntegrator.start(example) }
c.after(:each) { VcrIntegrator.stop(example) }
end
end
|
.start ⇒ Object
16
17
18
|
# File 'lib/bitcoin_testnet.rb', line 16
def self.start
Booter.boot
end
|
.stop ⇒ Object
20
21
22
|
# File 'lib/bitcoin_testnet.rb', line 20
def self.stop
Stopper.stop
end
|