Sha256: c06387f8e3305e544c049e52b5fb2ddb5c57b072389d86b269aa876591a776d6
Contents?: true
Size: 543 Bytes
Versions: 4
Compression:
Stored size: 543 Bytes
Contents
require 'spec_helper' module Alf module Repl describe Service, "get /" do include ::Rack::Test::Methods def app Service end subject{ get('/') } before do subject end it 'serves html correctly' do last_response.should be_ok last_response.content_type.should =~ /text\/html/ end it 'composes the repl' do last_response.body.should =~ /<html/ last_response.body.should =~ /QueryController/ end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
alf-repl-0.16.3 | spec/service/test_index.rb |
alf-repl-0.16.2 | spec/service/test_index.rb |
alf-repl-0.16.1 | spec/service/test_index.rb |
alf-repl-0.16.0 | spec/service/test_index.rb |