Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
BanzaiMan committed Feb 5, 2013
1 parent 5a25b70 commit e376890
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions spec/rhc/helpers_spec.rb
Expand Up @@ -335,18 +335,17 @@ def options

context "when hosts file has the desired host" do
it "does not raise error" do
puts subject.hosts_file_contains?(existent_host)
lambda {
expect {
subject.hosts_file_contains?(existent_host)
}.should_not raise_error
}.to_not raise_error
end
end

context "when hosts file does not have the desired host" do
it "does not raise error" do
lambda {
expect {
subject.hosts_file_contains?(nonexistent_host)
}.should_not raise_error
}.to_not raise_error
end
end
end
Expand Down

0 comments on commit e376890

Please sign in to comment.