spec/spec_helper.rb in yammer-client-0.1.2 vs spec/spec_helper.rb in yammer-client-0.1.3
- old
+ new
@@ -39,8 +39,16 @@
def fixture_path
File.expand_path("../fixtures", __FILE__)
end
+def mock_path
+ File.expand_path("../mocks", __FILE__)
+end
+
def fixture(file)
File.new("#{fixture_path}/#{file}")
+end
+
+def upload(file)
+ File.new("#{mock_path}/#{file}")
end