Sha256: 86a781568b02b2bd3934f41682efe8334a8d62dc9945bd7aac8b99ca861ccf21

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 KB

Contents

SETTLEMENT_METHODS = [DCC_DCC = {:buy => 'dcc from dcc', :to => 'dcc to dcc'},
                      REG_REG = {:buy => 'reg from reg', :to => 'reg to reg'}
                      ]
feature = <<-Data
  Test Instruction Queue and Processiung
  In order to ensure the Back Office Processes work as expected
  Back Office
  wants to ensure trades process through queues as required
Data

ing_feature = {
  :foreach => [:direction, :settlement_method],
  :direction => ['buy', 'sell'],
  :settlement_method => SETTLEMENT_METHODS
}

ing_scenario = <<-Data1
  @selenium @#{direction}_trade_ticket_requirements @login_as_middle_office
  Ing Trade Ticket Instructions - #{direction} #{settlement_method[direction]}
    Given I am on the Instructions Screen
    When I click the trade row
    Then I should see "Instruction Details"
    When I set Settlement Method to "#{settlement_method[direction]}" for trade
    Then I should see Settlement Method "#{settlement_method[direction]}" for trade
    When I follow "Broker Confirm"
    Then I should see "Instruct Trade"
    And I should see trade row
    When I follow "Instruct Trade" with confirmation
    Then I should not see trade row
    And Instruction File exists on Hard Drive
Data1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
factory_toys-0.2.0 tmp/ffactories/simple_factory.rb
factory_toys-0.1.1 tmp/ffactories/simple_factory.rb