Sha256: edf3437da5ab9743b7fc1cd16f74d408b6b87df0f12655391fc4b590760750ec
Contents?: true
Size: 364 Bytes
Versions: 3
Compression:
Stored size: 364 Bytes
Contents
require "test/helper" require "test/app_helper" require 'test/sinatra/app' class SinatraTest < Test::Unit::TestCase def app @app ||= SinatraApp end context "Requesting xls from a Sinatra app" do before { @response = visit "/index.xls" } should "respond with osheet data" do assert_osheet_response 'sinatra', @response end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
osheet-0.7.0 | test/sinatra_test.rb |
osheet-0.6.0 | test/sinatra_test.rb |
osheet-0.5.0 | test/sinatra_test.rb |