Sha256: 7f0a3596b9d9999a7f1df1043ecc5bfb7d62dff0e9ca7335bef953bbe88d97af
Contents?: true
Size: 590 Bytes
Versions: 3
Compression:
Stored size: 590 Bytes
Contents
require 'ronin/static/static' require 'spec_helper' require 'static/helpers/static' require 'static/classes/static_class' describe Static do it "should list static directories" do STATIC_DIRS.each do |dir| Static.static_dirs.include?(dir).should == true end end it "should prevent the addition of non-existant directories" do lambda { Static.directory('lol') }.should raise_error(RuntimeError) end it "should prevent the addition of non-directories" do lambda { Static.directory(__FILE__) }.should raise_error(RuntimeError) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ronin-0.3.0 | spec/static/static_spec.rb |
ronin-0.2.4 | spec/static/static_spec.rb |
ronin-0.2.3 | spec/static/static_spec.rb |