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