Sha256: 38faea6107c536f1f9cd5649c3db25eb042580cada2be641a415e9d48b76b12d
Contents?: true
Size: 318 Bytes
Versions: 2
Compression:
Stored size: 318 Bytes
Contents
require_relative 'spec_helper' describe Sinatra::Documentation do def respond_app(&block) types = @provides mock_app do set :app_file, __FILE__ set :views, root + '/documentation' register Sinatra::Documentation respond_to(*types) if types class_eval(&block) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sinatra-documentation-0.0.2 | spec/documentation_spec.rb |
sinatra-documentation-0.0.1 | spec/documentation_spec.rb |