Sha256: 222d6f62e144adf08161f8fe6c35491cc22f5eb8c8a4c59ccdfca903c610b0af
Contents?: true
Size: 489 Bytes
Versions: 4
Compression:
Stored size: 489 Bytes
Contents
require 'debugger' require 'rspec' require 'rspec/core' require 'rspec/mocks' require File.expand_path('../../lib/fastdfs-client', __FILE__) require File.expand_path('../test_config', __FILE__) require File.expand_path('../mock_tcp_socket', __FILE__) FC = Fastdfs::Client RSpec.configure do |config| config.before(:each) do TCPSocket.stub(:new) do |h, p| MockTCPSocket.new(h, p) end end config.mock_with :rspec do |c| c.syntax = [:should, :expect] end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fastdfs-client-1.3.0 | spec/spec_helper.rb |
fastdfs-client-1.2.0 | spec/spec_helper.rb |
fastdfs-client-1.0.2 | spec/spec_helper.rb |
fastdfs-client-1.0.1 | spec/spec_helper.rb |