spec/kpm/unit/plugins_directory_spec.rb in kpm-0.3.0 vs spec/kpm/unit/plugins_directory_spec.rb in kpm-0.4.0

- old
+ new

@@ -5,18 +5,9 @@ it 'should parse the plugins directory' do directory = KPM::PluginsDirectory.all(false) directory.size.should > 0 end - it 'should lookup plugins (legacy way)' do - group_id, artifact_id, packaging, classifier, version, type = KPM::PluginsDirectory.lookup('analytics', false) - group_id.should == 'org.kill-bill.billing.plugin.java' - artifact_id.should == 'analytics-plugin' - packaging.should == 'jar' - classifier.should be_nil - version.should == '2.0.2' - type.should == :java - end it 'should lookup plugins' do group_id, artifact_id, packaging, classifier, version, type = KPM::PluginsDirectory.lookup('analytics', false, '0.14') group_id.should == 'org.kill-bill.billing.plugin.java' artifact_id.should == 'analytics-plugin'