Added specific error to spec.

This commit is contained in:
ethicalhack3r
2013-02-24 15:47:10 +01:00
parent 3c6292e9b4
commit 8bf2ff21b2
2 changed files with 2 additions and 2 deletions

View File

@@ -205,7 +205,7 @@ describe Browser do
browser = Browser.instance
File.symlink('./testfile', symlink)
expect { browser.load_config(symlink) }.to raise_error
expect { browser.load_config(symlink) }.to raise_error("[ERROR] Config file is a symlink.")
File.unlink(symlink)
end
end