Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 13 lines (10 sloc) 0.236 kb
aa0d437 @panozzaj Add rspec.
panozzaj authored
1 require 'rubygems'
2 require 'bundler/setup'
5c4b129 @panozzaj Reconfigure a bit and add some end-to-end testing.
panozzaj authored
3 require 'logger'
8e24077 @panozzaj Use fakefs for file testing.
panozzaj authored
4 require 'fakefs/spec_helpers'
5d6abd6 @panozzaj Ask server for url, not file.
panozzaj authored
5 require 'fakeweb'
aa0d437 @panozzaj Add rspec.
panozzaj authored
6
7 RSpec.configure do |config|
65a08c7 @panozzaj Remove stub code.
panozzaj authored
8 config.mock_with :rr
8e24077 @panozzaj Use fakefs for file testing.
panozzaj authored
9 config.include FakeFS::SpecHelpers
aa0d437 @panozzaj Add rspec.
panozzaj authored
10 end
d2f2cf6 @panozzaj Clean up server calls a bit.
panozzaj authored
11
12 FakeWeb.allow_net_connect = false
Something went wrong with that request. Please try again.