Sha256: efc96af8077bd1e7f9a3119c782df204fcf116f60002eaa21dd6ff171aaa017d

Contents?: true

Size: 637 Bytes

Versions: 62

Compression:

Stored size: 637 Bytes

Contents

module IntacctCustomerSteps
  step('I have a customer') { customer }

  step 'I create an Intacct Customer object' do
    @intacct_customer = Intacct::Customer.new customer
  end

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

  step 'I use the #get method' do
    @response = @intacct_customer.get
  end

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

  step 'I use the #delete method' do
    @response = @intacct_customer.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_customer_steps.rb
intacctrb-0.9.5 spec/steps/intacct_customer_steps.rb
intacctrb-0.9.4 spec/steps/intacct_customer_steps.rb
intacctrb-0.9.3 spec/steps/intacct_customer_steps.rb
intacctrb-0.9.2 spec/steps/intacct_customer_steps.rb
intacctrb-0.9.1 spec/steps/intacct_customer_steps.rb
intacctrb-0.9.0 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.21 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.20 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.19 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.18 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.17 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.16 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.15 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.14 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.13 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.12 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.11 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.10 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.9 spec/steps/intacct_customer_steps.rb