diff options
Diffstat (limited to 'spec')
| -rwxr-xr-x | spec/unit/network/http/rack/rest_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/network/http/rack/rest_spec.rb b/spec/unit/network/http/rack/rest_spec.rb index 9b3e1e59f..96cf84c37 100755 --- a/spec/unit/network/http/rack/rest_spec.rb +++ b/spec/unit/network/http/rack/rest_spec.rb @@ -82,8 +82,8 @@ describe "Puppet::Network::HTTP::RackREST" do @file.stubs(:is_a?).with(File).returns(true) end - it "should set the Content-Length header" do - @response.expects(:[]=).with("Content-Length", 100) + it "should set the Content-Length header as a string" do + @response.expects(:[]=).with("Content-Length", '100') @handler.set_response(@response, @file, 200) end @@ -246,4 +246,4 @@ describe Puppet::Network::HTTP::RackREST::RackFile do @file.expects(:close) @rackfile.close end -end
\ No newline at end of file +end |
