Sha256: 732e0b0446ac33f2fdb9bf3dc90866651441bd9fb9e977f33dccda2320ea4608
Contents?: true
Size: 306 Bytes
Versions: 3
Compression:
Stored size: 306 Bytes
Contents
require 'sinatra/base' module RSpec class JenkinsServer < Sinatra::Base get('/bad_json') do 'This is not JSON, bro...' end get('/computer/api/json') do content_type 'application/json' File.read(File.expand_path('../../fixtures/computer.json', __FILE__)) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
falcore-0.2.0 | spec/support/server.rb |
falcore-0.1.1 | spec/support/server.rb |
falcore-0.1.0 | spec/support/server.rb |