Sha256: bfc10ab01e4b2b837f6cbbe5a3b4de202b998e2a6dd40b0a31d14e0ece43ea55

Contents?: true

Size: 462 Bytes

Versions: 12

Compression:

Stored size: 462 Bytes

Contents

require 'spec_helper'

describe Conekta::Log do
  include_context "API 1.0.0"
  it "test successful where" do
    events = Conekta::Log.where
    expect(events.class_name).to eq("ConektaObject")
    expect(events[0].class_name).to eq("Log")
  end

  it "test successful find" do
    events = Conekta::Log.where
    e = events.first

    event = Conekta::Log.find(e.id)

    expect(event).to be_a(Conekta::Log)
    expect(event.class_name).to eq("Log")
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
conekta-2.6.0 spec/conekta/1.0.0/log_spec.rb
conekta-tiempometa-2.4.2 spec/conekta/1.0.0/log_spec.rb
conekta-2.5.0 spec/conekta/1.0.0/log_spec.rb
conekta-2.4.2 spec/conekta/1.0.0/log_spec.rb
conekta-2.4.1 spec/conekta/1.0.0/log_spec.rb
conekta-2.4.0 spec/conekta/1.0.0/log_spec.rb
conekta-2.3.0 spec/conekta/1.0.0/log_spec.rb
conekta-2.0.0 spec/conekta/1.0.0/log_spec.rb
conekta-1.1.3 spec/conekta/1.0.0/log_spec.rb
conekta-1.1.2 spec/conekta/1.0.0/log_spec.rb
conekta-1.1.1 spec/conekta/1.0.0/log_spec.rb
conekta-1.1.0 spec/conekta/1.0.0/log_spec.rb