Sha256: d86668be763363123606b635a22fef690fba3a6c7392d87661b16b983f14c755

Contents?: true

Size: 538 Bytes

Versions: 62

Compression:

Stored size: 538 Bytes

Contents

module IntacctVendorSteps
  step('I have a vendor') { vendor }

  step 'I create an Intacct Vendor object' do
    @intacct_vendor = Intacct::Vendor.new vendor
  end

  step 'I use the #create method' do
    @response = @intacct_vendor.create
  end

  step 'I use the #update method' do
    @response = @intacct_vendor.update
  end

  step 'I use the #delete method' do
    @response = @intacct_vendor.delete
  end

  step 'I should recieve "id, name and termname"' do
    expect(@response.keys).to include :id, :name, :termname
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
intacctrb-0.9.6 spec/steps/intacct_vendor_steps.rb
intacctrb-0.9.5 spec/steps/intacct_vendor_steps.rb
intacctrb-0.9.4 spec/steps/intacct_vendor_steps.rb
intacctrb-0.9.3 spec/steps/intacct_vendor_steps.rb
intacctrb-0.9.2 spec/steps/intacct_vendor_steps.rb
intacctrb-0.9.1 spec/steps/intacct_vendor_steps.rb
intacctrb-0.9.0 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.21 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.20 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.19 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.18 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.17 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.16 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.15 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.14 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.13 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.12 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.11 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.10 spec/steps/intacct_vendor_steps.rb
intacctrb-0.8.9 spec/steps/intacct_vendor_steps.rb