serverspec/specinfra — pull request #139 by tkak (2014-06-18 11:06:10+00:00)
Title: fix square brackets error in cron resource type

This patch is to fix square brackets error in cron resource type.

```
Failures:

1) Cron should have entry "* * * * * [ -x /tmp/test.txt ] && /root/test.sh"
Failure/Error: it { should have_entry('* * * * * [ -x /tmp/test.txt ] && /root/test.sh').with_user('root') }
sudo crontab -u root -l | grep -v "#" | grep -- \\\*\ \\\*\ \\\*\ \\\*\ \\\*\ \[\ -x\ /tmp/test.txt\ \]\ \&\&\ /root/test.sh
expected Cron "" to have entry "* * * * * [ -x /tmp/test.txt ] && /root/test.sh"
# ./spec/node/cron_spec.rb:4:in `block (2 levels) in '

Finished in 4.79 seconds
2 examples, 1 failure

Failed examples:

rspec ./spec/node/cron_spec.rb:4 # Cron should have entry "* * * * * [ -x /tmp/test.txt ] && /root/test.sh"

```