Sha256: 9780a833abac2de85cb5930295735a245d092afbb9b87cd7c3e9b6242ea54f47
Contents?: true
Size: 670 Bytes
Versions: 13
Compression:
Stored size: 670 Bytes
Contents
#require 'fulmar/service/helper_service' #require 'fulmar/domain/model/configuration' require 'fulmar/domain/service/plugin_service' module Fulmar module Plugin module MariaDB class Database end end end end describe Fulmar::Domain::Service::PluginService do before :each do @plugin_service = Fulmar::Domain::Service::PluginService.instance end describe '#classname' do it 'returns a module' do expect(@plugin_service.classname :maria).to eql(Fulmar::Plugin::MariaDB) end it 'returns a class' do expect(@plugin_service.classname(:maria, :database)).to eql(Fulmar::Plugin::MariaDB::Database) end end end
Version data entries
13 entries across 13 versions & 1 rubygems