Sha256: af901bcf088c28af4712fba7ecd55fb87c87bd1a2b61c3d0ba9cccd416b56385

Contents?: true

Size: 576 Bytes

Versions: 1

Compression:

Stored size: 576 Bytes

Contents

Dato /^che lo username per l.invio è "([^\"]*)"$/ do |username|
    @username = username
end


Dato /^che la password per l.invio è "([^\"]*)"$/ do |password|
  @password = password
end

Quando /^invio un SMS con i seguenti dati:$/ do |table|
    dati = table.hashes
    @risultato = Spider::Messenger::Mobyt.parametri(@username, @password, dati['from'], dati['to'], dati['testo'])
end


Allora /^la libreria Mobyt deve ritornare i seguenti parametri:$/ do |table|
    dati = table.rows_hash
    dati.each do |key, value|
        @risultato[key].should eq value
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spiderfw-0.6.26 apps/messenger/test/features/step_definitions/sms_mobyt.rb