Sha256: 9a0426fc60acdaf95bfaf60ded857fca51dffcede17a43e71033db071c95e9af

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

Given /^I create a Transformation::CalculatedColumns object$/ do
  @calculated_columns = Itiel::Transform::CalculatedColumns.new do |row|
     name_state = "#{row['name']}-#{row['state']}"
     id_name    = "#{row['id']}-#{row['name']}"
     { 'name_state' => name_state, 'id_name' => id_name }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
itiel-0.1.2 features/step_definitions/transformation/calculated_columns_steps.rb
itiel-0.1.1 features/step_definitions/transformation/calculated_columns_steps.rb
itiel-0.1.0 features/step_definitions/transformation/calculated_columns_steps.rb