spec/cantango/configuration/accounts_spec.rb in cantango-config-0.1.7 vs spec/cantango/configuration/accounts_spec.rb in cantango-config-0.1.8

- old
+ new

@@ -13,6 +13,10 @@ it_should_behave_like "Clazz Registry" do let(:hash1) do {:a => UserAccount, :b => AdminAccount} end end + + describe 'register_account' do + specify { subject.register_class(AdminAccount).registered.should include(:admin) } + end end