Attempt to require the custom export class.

This commit is contained in:
Chris Lowder committed 2012-01-24 14:36:38 +00:00
1 parent d54b46806c
commit 84c49ae2b8
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ describe "Foreman::CLI", :fakefs do
describe "with an invalid formatter" do
it "prints an error" do
mock_error(subject, "Unknown export format: invalidformatter.") do
mock_error(subject, "Unknown export format: invalidformatter (unable to load file 'foreman/export/invalidformatter').") do
subject.export("invalidformatter")
end
end