Sha256: 846eb620eeae13eb841986b69bb6b8a11c0ab281bb14e18a390cf0ee064e5110
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
require 'spec_helper' describe Conekta::Log do 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
conekta-1.0.0 | spec/conekta/log_spec.rb |
conekta-0.5.8 | spec/conekta/log_spec.rb |
conekta-0.5.7 | spec/conekta/log_spec.rb |