+1

On Nov 2, 2009, at 10:21 PM, Markus Roberts wrote:

>
> This was my bad.  My patch for #2637 broke some test's assumptions  
> and I
> never went back to update them.
>
> Signed-off-by: Markus Roberts <[email protected]>
> ---
> spec/unit/network/http/webrick.rb |    4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/spec/unit/network/http/webrick.rb b/spec/unit/network/ 
> http/webrick.rb
> index 1b76341..fca2e07 100755
> --- a/spec/unit/network/http/webrick.rb
> +++ b/spec/unit/network/http/webrick.rb
> @@ -15,7 +15,7 @@ end
>
> describe Puppet::Network::HTTP::WEBrick, "when turning on listening"  
> do
>     before do
> -        @mock_webrick = stub('webrick', :[] => {})
> +        @mock_webrick = stub('webrick', :[] => {}, :listeners => [])
>         [:mount, :start, :shutdown].each {|meth|  
> @mock_webrick.stubs(meth)}
>         WEBrick::HTTPServer.stubs(:new).returns(@mock_webrick)
>         @server = Puppet::Network::HTTP::WEBrick.new
> @@ -162,7 +162,7 @@ end
>
> describe Puppet::Network::HTTP::WEBrick, "when turning off  
> listening" do
>     before do
> -        @mock_webrick = stub('webrick', :[] => {})
> +        @mock_webrick = stub('webrick', :[] => {}, :listeners => [])
>         [:mount, :start, :shutdown].each {|meth|  
> @mock_webrick.stubs(meth)}
>         WEBrick::HTTPServer.stubs(:new).returns(@mock_webrick)
>         @server = Puppet::Network::HTTP::WEBrick.new
> -- 
> 1.6.4
>
>
> >


-- 
I don't want the world, I just want your half.
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to