spec/spec_helper.rb in github_cli-0.0.1.pre vs spec/spec_helper.rb in github_cli-0.1.0
- old
+ new
@@ -7,5 +7,9 @@
require 'github_cli'
RSpec.configure do |config|
config.order = :rand
end
+
+def fixture(name)
+ File.read(File.join(File.dirname(__FILE__), '..', 'fixtures', name))
+end