Sha256: b0a2181eae575b98af09a6c07e56fb2ad1f97d9a573557a5a099e1cef8793c62

Contents?: true

Size: 307 Bytes

Versions: 4

Compression:

Stored size: 307 Bytes

Contents

# frozen_string_literal: true

module Rordash
  RSpec.describe ObjectUtil do
    describe '.to_classname' do
      context 'when given a class object that is not defined' do
        it 'returns nil' do
          expect(described_class.to_classname("Foo")).to be_nil
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rordash-0.1.3 spec/rordash/object_util_spec.rb
rordash-0.1.2 spec/rordash/object_util_spec.rb
rordash-0.1.1 spec/rordash/object_util_spec.rb
rordash-0.1.0 spec/rordash/object_util_spec.rb