spec/spec_helper.rb in bumblebee-3.0.1 vs spec/spec_helper.rb in bumblebee-3.1.0.pre.alpha
- old
+ new
@@ -8,10 +8,11 @@
#
require 'stringio'
require 'pry'
require 'ostruct'
+require 'yaml'
require 'simplecov'
require 'simplecov-console'
SimpleCov.formatter = SimpleCov::Formatter::Console
SimpleCov.start
@@ -42,10 +43,10 @@
file.read
end
def manually_convert_csv_object(csv_object, columns)
csv_object.map do |header, value|
- column = ::Bumblebee::Column.new(header, columns[header].symbolize_keys)
+ column = Bumblebee::Column.new(header, columns[header].symbolize_keys)
converted_value =
if column.extractor.expect_array?
value
else