Sha256: 9eba351d674d5ae2d8d040f36df8bd377b3beeb15d91f811c3295d730cc5bc28
Contents?: true
Size: 490 Bytes
Versions: 9
Compression:
Stored size: 490 Bytes
Contents
require "spec_helper" require "digicert/base" RSpec.describe "Digicert::TestFindable" do describe ".find_by_object" do it "initialize an instnace using the object" do findable_object = double("order", id: 123_456_789) new_object = Digicert::TestFindable.find_by_object(findable_object) expect(new_object.class).to eq(Digicert::TestFindable) end end module Digicert class TestFindable < Digicert::Base extend Digicert::Findable end end end
Version data entries
9 entries across 9 versions & 1 rubygems