Sha256: dfec2f1f8ebd85be5bb5e492a398a08ea0da666c21b646d3417ca8da2ae45986
Contents?: true
Size: 938 Bytes
Versions: 4
Compression:
Stored size: 938 Bytes
Contents
require 'codeclimate-test-reporter' CodeClimate::TestReporter.start require 'pry-byebug' require 'rails' require 'rabbitmq-definition' require File.expand_path("../dummy/config/environment", __FILE__) require File.expand_path("../helpers/listing_helper", __FILE__) require File.expand_path("../helpers/matchers", __FILE__) require 'rspec/rails' require 'webmock/rspec' ENV["RAILS_ENV"] = "test" ENV['RABBITMQ_MANAGEMENT_URL'] = 'http://guest:guest@localhost:15672/api' WebMock.disable_net_connect!(:allow => "codeclimate.com") RSpec.configure do |config| config.before do allow(RabbitMQ::Definition::FileDefinition).to receive(:file_path).and_return("./db/rabbitmq_definition.json") allow(RabbitMQ::Definition::Logger).to receive(:error).and_return(true) allow(RabbitMQ::Definition::Logger).to receive(:progress).and_return(false) allow(RabbitMQ::Definition::Logger).to receive(:success).and_return(false) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rabbitmq-definition-0.1.3 | spec/spec_helper.rb |
rabbitmq-definition-0.1.2 | spec/spec_helper.rb |
rabbitmq-definition-0.1.1 | spec/spec_helper.rb |
rabbitmq-definition-0.1.0 | spec/spec_helper.rb |