Sha256: 043178c3e60569dbed8c7790aa02cc8fec0e36af3015dc455d266db3ad32bcd8
Contents?: true
Size: 453 Bytes
Versions: 24
Compression:
Stored size: 453 Bytes
Contents
require 'brightcontent/resource' describe Brightcontent::Resource do FakeBlog = Module.new Brightcontent::FakeComment = Module.new describe '.klass' do it 'returns the class of the path' do expect(described_class.new('fake_blog').klass).to eq FakeBlog end it 'returns the brightcontent namespaces path if not exist' do expect(described_class.new('fake_comment').klass).to eq Brightcontent::FakeComment end end end
Version data entries
24 entries across 24 versions & 1 rubygems