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.8.8 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.7 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.6 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.5 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.4 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.3 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.2 spec/steps/intacct_customer_steps.rb
intacctrb-0.8.1 spec/steps/intacct_customer_steps.rb
intacctrb-0.8 spec/steps/intacct_customer_steps.rb
intacctrb-0.7.2 spec/steps/intacct_customer_steps.rb
intacctrb-0.7.1 spec/steps/intacct_customer_steps.rb
intacctrb-0.7 spec/steps/intacct_customer_steps.rb
intacctrb-0.6.5 spec/steps/intacct_customer_steps.rb
intacctrb-0.6.4 spec/steps/intacct_customer_steps.rb
intacctrb-0.6.3 spec/steps/intacct_customer_steps.rb
intacctrb-0.6.2 spec/steps/intacct_customer_steps.rb
intacctrb-0.6.1 spec/steps/intacct_customer_steps.rb
intacctrb-0.6.0 spec/steps/intacct_customer_steps.rb
intacctrb-0.5.8 spec/steps/intacct_customer_steps.rb
intacctrb-0.5.7 spec/steps/intacct_customer_steps.rb