Sha256: c24f81ba3a46ca3ba5d6df6dc50b5a28450894112f7019dd31c42d1de29f1905
Contents?: true
Size: 558 Bytes
Versions: 4
Compression:
Stored size: 558 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe Walruz do it "should have a policies method" do Walruz.should respond_to(:policies) end describe '#policies' do it "should return all the policies created that have a label" do Walruz.policies.should_not be_nil Walruz.policies[:author_policy].should be_nil Walruz.policies[:author_in_colaboration_policy].should == AuthorInColaborationPolicy Walruz.policies[:colaborating_with_john_policy].should == ColaboratingWithJohnPolicy end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
walruz-0.0.3 | spec/walruz/walruz_spec.rb |
walruz-0.0.4 | spec/walruz/walruz_spec.rb |
walruz-0.0.5 | spec/walruz/walruz_spec.rb |
walruz-0.0.6 | spec/walruz/walruz_spec.rb |