spec/spec_helper.rb in petfinder-0.1.0 vs spec/spec_helper.rb in petfinder-0.1.1

- old
+ new

@@ -1,20 +1,17 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) + require 'rubygems' require 'petfinder' -require 'spec' -require 'spec/autorun' +require 'rspec' require 'fakeweb' -Spec::Runner.configure do |config| -end - def fixture_file(filename) File.read(File.dirname(__FILE__) + "/fixtures/#{filename}") end def stub_get(url, filename, options={}) opts = {:body => fixture_file(filename)}.merge(options) - + FakeWeb.register_uri(:get, url, opts) end \ No newline at end of file