spec/integration/sinatra/rest_get/test_accept.rb in alf-rest-0.14.0 vs spec/integration/sinatra/rest_get/test_accept.rb in alf-rest-0.16.0

- old
+ new

@@ -66,20 +66,20 @@ header "Accept", "text/plain" get '/suppliers' # last_meta.should eq([200, "text/plain"]) # - last_response.body.should =~ /\|\s+1\s+\|\s+Smith\s+\|/ + last_response.body.should =~ /\|\s+S1\s+\|\s+Smith\s+\|/ end it 'supports text/x-yaml' do # - header "Accept", "text/x-yaml" + header "Accept", "text/yaml" get '/suppliers' # - last_meta.should eq([200, "text/x-yaml"]) + last_meta.should eq([200, "text/yaml"]) # - last_response.body.should =~ /- :sid: 1/ + last_response.body.should =~ /- :sid: S1/ end it 'supports a complex specification' do # header "Accept", "application/*, text/*;q=0.8"