Sha256: 2f7e2554bca52e6bb26730b2ca616e724cbd98eb5f6753f092df2a9c093a7e55
Contents?: true
Size: 771 Bytes
Versions: 1
Compression:
Stored size: 771 Bytes
Contents
# Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. # Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f} require 'remote_book' require 'fakeweb' RSpec.configure do |config| # == Mock Framework # # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line: # # config.mock_with :mocha # config.mock_with :flexmock # config.mock_with :rr config.mock_with :rspec FakeWeb.allow_net_connect = false config.before(:each) do FakeWeb.clean_registry end end def load_file(name) file = File.open("spec/fixtures/#{name}", "rb") contents = file.read file.close return contents end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
remote_book-0.1.5 | spec/spec_helper.rb |