Sha256: 3aa122882330ca6cf1421896890a5894e406927f275a6ae7a772386b867f06b2
Contents?: true
Size: 521 Bytes
Versions: 1
Compression:
Stored size: 521 Bytes
Contents
require 'test_helper' class BeanstalkTest < GemeraldBeanstalkTest context '::load_plugin' do should 'raise NameError if unknown plugin' do assert_raises(NameError) do GemeraldBeanstalk::Beanstalk.load_plugin(:Foo) end end should 'include the given plugin' do GemeraldBeanstalk::Beanstalk.load_plugin(:Dummy) assert GemeraldBeanstalk::Beanstalk.included_modules.include?(GemeraldBeanstalk::Plugin::Dummy) end end end module GemeraldBeanstalk::Plugin::Dummy; end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemerald_beanstalk-0.1.0 | test/unit/beanstalk_test.rb |