Sha256: 8a11f64e6e7b51787da3ff259d359914d6ff7899149dbe0ac27d41d49e68f345

Contents?: true

Size: 471 Bytes

Versions: 6

Compression:

Stored size: 471 Bytes

Contents

require 'test_helper'

module Vedeu

  module Events

    describe Repository do

      let(:described) { Vedeu::Events::Repository }

      it { described.must_respond_to(:events) }

      describe '.reset!' do
        subject { described.reset! }

        it { described.must_respond_to(:reset) }

        it do
          described.expects(:new).with(Vedeu::Events::Collection)
          subject
        end
      end

    end # Repository

  end # Events

end # Vedeu

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vedeu-0.8.0 test/lib/vedeu/events/repository_test.rb
vedeu-0.7.4 test/lib/vedeu/events/repository_test.rb
vedeu-0.7.3 test/lib/vedeu/events/repository_test.rb
vedeu-0.7.2 test/lib/vedeu/events/repository_test.rb
vedeu-0.7.1 test/lib/vedeu/events/repository_test.rb
vedeu-0.7.0 test/lib/vedeu/events/repository_test.rb