test/lib/vedeu/repositories/repositories/groups_test.rb in vedeu-0.4.40 vs test/lib/vedeu/repositories/repositories/groups_test.rb in vedeu-0.4.41

- old
+ new

@@ -4,9 +4,20 @@ describe Groups do let(:described) { Vedeu::Groups } + it { described.must_respond_to(:groups) } + + describe '.reset!' do + subject { described.reset! } + + it { + described.expects(:register).with(Vedeu::Group) + subject + } + end + describe '#by_name' do let(:_name) { 'carbon' } subject { described.groups.by_name(_name) }