Sha256: 8bbb78a171dd3973d5d3aeafbeaf201917234aa9a301f5647b976fb6e8472c1b
Contents?: true
Size: 317 Bytes
Versions: 2
Compression:
Stored size: 317 Bytes
Contents
require 'spec_helper' module KnowledgeBase describe Sectionables::Video do describe '#youtube_id' do let(:video) { create :video, url: 'http://www.youtube.com/watch?v=rv1o6Em9P7I' } it 'can derive its YouTube id' do expect(video.youtube_id).to eq 'rv1o6Em9P7I' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
knowledge_base-0.1.0 | spec/models/knowledge_base/sectionables/video_spec.rb |
knowledge_base-0.0.3 | spec/models/knowledge_base/sectionables/video_spec.rb |