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.5.6 spec/steps/intacct_vendor_steps.rb
intacctrb-0.5.5 spec/steps/intacct_vendor_steps.rb
intacctrb-0.5.4 spec/steps/intacct_vendor_steps.rb
intacctrb-0.5.3 spec/steps/intacct_vendor_steps.rb
intacctrb-0.5.2 spec/steps/intacct_vendor_steps.rb
intacctrb-0.5.1 spec/steps/intacct_vendor_steps.rb
intacctrb-0.5.0 spec/steps/intacct_vendor_steps.rb
intacctrb-0.4.9 spec/steps/intacct_vendor_steps.rb
intacctrb-0.4.8 spec/steps/intacct_vendor_steps.rb
intacctrb-0.4.7 spec/steps/intacct_vendor_steps.rb
intacctrb-0.4.6 spec/steps/intacct_vendor_steps.rb
intacctrb-0.4.5 spec/steps/intacct_vendor_steps.rb
intacctrb-0.4.4 spec/steps/intacct_vendor_steps.rb
intacctrb-0.4.3 spec/steps/intacct_vendor_steps.rb
intacctrb-0.4.2 spec/steps/intacct_vendor_steps.rb
intacctrb-0.4.1 spec/steps/intacct_vendor_steps.rb
intacctrb-0.4 spec/steps/intacct_vendor_steps.rb
intacctrb-0.3 spec/steps/intacct_vendor_steps.rb
intacctrb-0.3pre spec/steps/intacct_vendor_steps.rb
intacctrb-0.2.1pre spec/steps/intacct_vendor_steps.rb