Sha256: 427ee9a367627ffa9a72e9b469d21c7b222db7ca7234bb51d29f3d1a5299fbe8

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

require 'spec_helper'

describe BitPlayer::ContentProviders::ViewProvider do
  class S; include BitPlayer::ContentProviders::ViewProvider; end

  describe '.source_class' do
    it 'should raise an exception when no source class has been defined' do
      expect { S.source_class }.to raise_error(RuntimeError)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bit_player-0.1.0 spec/models/bit_player/content_providers/view_provider_spec.rb