spec/daiku/plugins_spec.rb in daiku-0.1.1 vs spec/daiku/plugins_spec.rb in daiku-0.2.0
- old
+ new
@@ -9,10 +9,11 @@
Daiku::Plugins::DatabaseSql,
Daiku::Plugins::Datamapper,
Daiku::Plugins::Grunt,
Daiku::Plugins::Honeybadger,
Daiku::Plugins::Newrelic,
+ Daiku::Plugins::Sequel,
Daiku::Plugins::Sidekiq,
Daiku::Plugins::Vcr
]
end
@@ -45,16 +46,16 @@
it "returns false if a plugin of given type is NOT present" do
subject.has_plugins?('example').must_equal false
end
it "can filter plugins by type" do
- subject.filter_plugins('models', :type).must_equal [subject::Datamapper.meta]
+ subject.filter_plugins('models', :type).must_equal [subject::Datamapper.meta, subject::Sequel.meta]
end
it "returns names of all plugins" do
subject.plugin_names.must_equal plugin_names
end
it "returns names of plugins of type: models" do
- subject.plugin_names('models').must_equal ['datamapper']
+ subject.plugin_names('models').must_equal ['datamapper', 'sequel']
end
end