Sha256: f5c3932577f609b470e310fcafd6af7501ba59134212723ab2105ceabac6bfa8
Contents?: true
Size: 393 Bytes
Versions: 7
Compression:
Stored size: 393 Bytes
Contents
require 'spec/helper' require 'example/provides' describe 'examples/provide' do behaves_like :rack_test it 'provides YAML representation' do get '/list.yaml' last_response.body.should == ARTICLES.to_yaml last_response['Content-Type'].should == 'text/yaml' get '/list' last_response.body.should == '' last_response['Content-Type'].should == 'text/html' end end
Version data entries
7 entries across 7 versions & 3 rubygems