Sha256: 998d46db54578b17e22862366ba369db82eb8031d0c864bc02977beaee46c41b
Contents?: true
Size: 633 Bytes
Versions: 2
Compression:
Stored size: 633 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe "Application options" do it "should parse and use a config file if it is given for the options" do YAML.should_receive(:load).and_return({:config_file => "config/sample-config.yml"}) Application.make_options(:config_file => "config/sample-config.yml") end it "should require all the plugin's init files in the plugin directory" do PoolParty.should_receive(:load_plugins).once Application.options end it "should be able to say that the plugin directory is the current directory" do File.basename(PoolParty.plugin_dir).should == "vendor" end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
auser-poolparty-0.0.8 | spec/poolparty_spec.rb |
dreadpiratepj-poolparty-0.0.8 | spec/poolparty_spec.rb |