-
-
Save jcblitz/ab99f4a07964c4f5bb64 to your computer and use it in GitHub Desktop.
This file contains 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
it 'gives an error when the file is invalid' do | |
expect { CustomerDataImporter.process(nil) }.to raise_error(ArgumentError) | |
record_ids = CustomerDataImporter.process(nil) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Failures:
Failure/Error: record_ids = CustomerDataImporter.process(nil)
Exception:
An import file is required.
./lib/customer_data_importer.rb:7:in `process'
./spec/models/customer_data_importer_spec.rb:11:in`block (3 levels) in <top (required)>'