Sha256: 203e600a34498b5b69321c43ffcbe190804fe629ddb6999301d8fa9b49903217
Contents?: true
Size: 979 Bytes
Versions: 4
Compression:
Stored size: 979 Bytes
Contents
require 'simplecov' SimpleCov.start do add_group 'Desk', 'lib/desk' add_group 'Faraday Middleware', 'lib/faraday' add_group 'Specs', 'spec' end require 'desk' require 'pony' require 'rspec' require 'webmock/rspec' require 'email_spec' require 'ruby-debug' RSpec.configure do |config| config.include WebMock::API end def a_delete(path) a_request(:delete, Desk.endpoint + path) end def a_get(path) a_request(:get, Desk.endpoint + path) end def a_post(path) a_request(:post, Desk.endpoint + path) end def a_put(path) a_request(:put, Desk.endpoint + path) end def stub_delete(path) stub_request(:delete, Desk.endpoint + path) end def stub_get(path) stub_request(:get, Desk.endpoint + path) end def stub_post(path) stub_request(:post, Desk.endpoint + path) end def stub_put(path) stub_request(:put, Desk.endpoint + path) end def fixture_path File.expand_path("../fixtures", __FILE__) end def fixture(file) File.new(fixture_path + '/' + file) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
desk-0.3.3 | spec/helper.rb |
desk-0.3.2 | spec/helper.rb |
desk-0.3.1 | spec/helper.rb |
desk-0.3.0 | spec/helper.rb |