site5/lumberg — pull request #20 by MarceloCajueiro (2012-08-15 00:44:38+00:00)
Title: Fix spec to the method "format_hash" of Lumberg::Whm::Server 

Hey guys,

I downloaded the lumberg project to an overview then I ran the tests and I saw an error so I tried to fix.

The first error was because a break line:

```ruby
expect { foo }.to
anything

# This don't work because we are calling the method "to" without any argument.

expect { foo }.
to anything

# This work well
```

The second and last error was because when a hash is nil the initialize of `Lumberg::Whm::Server` already handle with that so I changed the hash to 1 in the spec and it returned to work.