Sha256: d34588b414606903aa9a10722841a18a99e1194288e6bf6297a0554f3687befb
Contents?: true
Size: 756 Bytes
Versions: 11
Compression:
Stored size: 756 Bytes
Contents
require 'test_helper' module Vedeu describe Plugin do let(:described) { Vedeu::Plugin } let(:instance) { described.new(_name, _gem) } let(:_name) {} let(:_gem) {} describe '#initialize' do it { instance.must_be_instance_of(described) } it { instance.instance_variable_get('@name').must_equal(_name) } it { instance.instance_variable_get('@gem').must_equal(_gem) } it { instance.instance_variable_get('@gem_name'). must_equal("vedeu-#{_name}") } it { instance.instance_variable_get('@enabled').must_equal(false) } end describe '#load!' do subject { instance.load! } # @todo Add more tests. # it { skip } end end # Plugin end # Vedeu
Version data entries
11 entries across 11 versions & 1 rubygems