Created
April 5, 2013 14:41
-
-
Save raphink/5319792 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ RUBYLIB=/home/rpinson/dev/serverspec/lib/ rspec --color --format d | |
| ssh | |
| should be installed | |
| should be enabled | |
| should be running | |
| port 22 | |
| should be listening | |
| net-ssh | |
| should be installed by gem (FAILED - 1) | |
| /etc/httpd/conf/httpd.conf | |
| should be file (FAILED - 2) | |
| should contain "ServerName localhost" (FAILED - 3) | |
| Failures: | |
| 1) net-ssh | |
| Failure/Error: it { should be_installed_by_gem.with_version('2.2.3') } | |
| expected "net-ssh" to be installed by gem | |
| # ./spec/localhost/httpd_spec.rb:14:in `block (2 levels) in <top (required)>' | |
| 2) /etc/httpd/conf/httpd.conf | |
| Failure/Error: it { should be_file } | |
| expected "/etc/httpd/conf/httpd.conf" to be file | |
| # ./spec/localhost/httpd_spec.rb:18:in `block (2 levels) in <top (required)>' | |
| 3) /etc/httpd/conf/httpd.conf | |
| Failure/Error: it { should contain "ServerName localhost" } | |
| expected "/etc/httpd/conf/httpd.conf" to contain "ServerName localhost" | |
| # ./spec/localhost/httpd_spec.rb:19:in `block (2 levels) in <top (required)>' | |
| Finished in 0.34952 seconds | |
| 7 examples, 3 failures | |
| Failed examples: | |
| rspec ./spec/localhost/httpd_spec.rb:14 # net-ssh | |
| rspec ./spec/localhost/httpd_spec.rb:18 # /etc/httpd/conf/httpd.conf | |
| rspec ./spec/localhost/httpd_spec.rb:19 # /etc/httpd/conf/httpd.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment