spec/platform/platform_spec.rb in ronin-0.2.4 vs spec/platform/platform_spec.rb in ronin-0.3.0
- old
+ new
@@ -9,6 +9,14 @@
end
it "should be able to load custom overlay caches" do
Platform.overlays.should_not be_empty
end
+
+ it "should have specific extensions" do
+ Platform.has_extension?('test').should == true
+ end
+
+ it "should provide the names of all available extensions" do
+ Platform.extension_names.should == ['hello', 'random', 'test']
+ end
end