spec/support/fixtures.rb in phone_gap-build-0.3.0 vs spec/support/fixtures.rb in phone_gap-build-0.4.0

- old
+ new

@@ -1,10 +1,10 @@ require 'json' def response_body_for(request) - fixture_file = File.open(ROOT_DIR + "fixtures/api_responses/#{request}.json") + fixture_file = File.open(ROOT_DIR + "spec/fixtures/api_responses/#{request}.json") File.read(fixture_file) end def fixture_file(filename) - File.new(ROOT_DIR + "fixtures/#{filename}") + File.new(ROOT_DIR + "spec/fixtures/#{filename}") end \ No newline at end of file