Sha256: 67daa78d4e806342732f17a98ed01591d22647778212b913ccac783fe5b1080f

Contents?: true

Size: 570 Bytes

Versions: 4

Compression:

Stored size: 570 Bytes

Contents

require 'require_all'

libs = Dir[File.dirname(File.expand_path(__FILE__)) + "/../lib/**/*.rb"]
require_all(libs)

support_libs = Dir[File.dirname(File.expand_path(__FILE__)) + "/support/**/*.rb"]
require_all(support_libs)

class FakeManager
  def self.start
    @@beacon = NoamTest::FakeBeacon.new(Noam::BEACON_PORT)
    @@beacon.start

    @@server = NoamTest::FakeServer.new
    @@server.start
  end

  def self.stop
    @@beacon.stop
    @@server.stop
  end

  def self.server
    @@server
  end
end

RSpec.configure do |config|
  config.mock_framework = :mocha
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
noam_lemma-0.2.1.3 spec/spec_helper.rb
noam_lemma-0.2.1.2 spec/spec_helper.rb
noam_lemma-0.2.1.1 spec/spec_helper.rb
noam_lemma-0.2.1 spec/spec_helper.rb