spec/sepparator_spec.rb in sepparator-0.0.4 vs spec/sepparator_spec.rb in sepparator-0.0.5

- old
+ new

@@ -6,10 +6,10 @@ it 'creates a converter and uses it appropriately' do col_sep = ',' csv_path = 'foo/bar.csv' xls_path = 'bla/fu.xls' sheet_name = 'my sheet' - converter = stub + converter = double Sepparator::SpreadsheetConverter.should_receive(:new).with(col_sep: col_sep).and_return(converter) converter.should_receive(:convert).with(csv_path, xls_path, sheet_name: sheet_name) Sepparator.csv_to_excel(csv_path, xls_path, sheet_name: sheet_name, col_sep: col_sep) end