Sha256: e656b65b547f89c9889e61bbea85fbe2dcacd636bc9b694b17b9797770ca751f
Contents?: true
Size: 341 Bytes
Versions: 2
Compression:
Stored size: 341 Bytes
Contents
require 'spec_helper' module Governor describe Plugin do before(:each) {@plugin = Plugin.new('test')} it "collects child resources" do @plugin.add_child_resource('tests', :controller => 'governor/tests') @plugin.resources.should == {:child_resources => {'tests' => {:controller => 'governor/tests'}}} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
governor-0.2.1 | spec/governor/plugin_spec.rb |
governor-0.2.0 | spec/governor/plugin_spec.rb |