Youscribe/htpasswd-cookbook — pull request #14 by psyreactor (2014-06-04 15:48:01+00:00)
Title: add matchers for chefspec

Create matcher for chefspec to test LWRP.

```ruby
it 'create users' do
expect(chef_run).to add_htpasswd('user1')
expect(chef_run).to add_htpasswd('user2')
expect(chef_run).to add_htpasswd('user3')
end
```
```ruby
it 'delete users' do
expect(chef_run).to add_htpasswd('user1')
expect(chef_run).to add_htpasswd('user2')
expect(chef_run).to add_htpasswd('user3')
end
```
```ruby
it 'overwrite user' do
expect(chef_run).to overwrite_htpasswd('user1')
end
```