Sha256: 2ad8cf2233c5fee7e6d8bd1abeeeb2fefdd63e8722ecd6181557bdd1135f9d4b
Contents?: true
Size: 618 Bytes
Versions: 2
Compression:
Stored size: 618 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rspec' require 'gogetter' require 'fakeweb' def file_fixture(filename) open(File.join(File.dirname(__FILE__), 'fixtures', "#{filename}")).read end # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| config.before(:suite) do FakeWeb.allow_net_connect = false end config.after(:suite) do FakeWeb.allow_net_connect = true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gogetter-0.1.1 | spec/spec_helper.rb |
gogetter-0.1.0 | spec/spec_helper.rb |