Sha256: fd630a77ced93756443f8979908d07e0e96303eb155863f51051416e1e0aa092

Contents?: true

Size: 502 Bytes

Versions: 10

Compression:

Stored size: 502 Bytes

Contents

# frozen_string_literal: true

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

10 entries across 10 versions & 1 rubygems

Version Path
vedeu-0.8.10 test/lib/vedeu/events/repository_test.rb
vedeu-0.8.9 test/lib/vedeu/events/repository_test.rb
vedeu-0.8.8 test/lib/vedeu/events/repository_test.rb
vedeu-0.8.7 test/lib/vedeu/events/repository_test.rb
vedeu-0.8.6 test/lib/vedeu/events/repository_test.rb
vedeu-0.8.5 test/lib/vedeu/events/repository_test.rb
vedeu-0.8.4 test/lib/vedeu/events/repository_test.rb
vedeu-0.8.3 test/lib/vedeu/events/repository_test.rb
vedeu-0.8.2 test/lib/vedeu/events/repository_test.rb
vedeu-0.8.1 test/lib/vedeu/events/repository_test.rb