Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ryan Resella
committed
Oct 10, 2011
1 parent
00394b3
commit 2f3a01a
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
$:.unshift File.expand_path('..', __FILE__) | ||
$:.unshift File.expand_path('../../lib', __FILE__) | ||
require 'simplecov' | ||
SimpleCov.start | ||
require 'windy' | ||
require 'rspec' | ||
require 'webmock/rspec' | ||
|
||
|
||
def a_get(path) | ||
a_request(:get, 'http://data.cityofchicago.org/' + path) | ||
end | ||
|
||
def stub_get(path) | ||
stub_request(:get, 'http://data.cityofchicago.org/' + path) | ||
end | ||
|
||
def fixture_path | ||
File.expand_path('../fixtures', __FILE__) | ||
end | ||
|
||
def fixture(file) | ||
File.new(fixture_path + '/' + file) | ||
end | ||
|