Sha256: 643c52d63db99c0a3b6a8589a6b02c4a0bd69099c4721317106ab4f0c5d879eb
Contents?: true
Size: 634 Bytes
Versions: 3
Compression:
Stored size: 634 Bytes
Contents
# -*- coding: utf-8 -*- require 'spec_helper' describe BigbluebuttonPlaybackFormat do it "loaded correctly" do BigbluebuttonPlaybackFormat.new.should be_a_kind_of(ActiveRecord::Base) end before { FactoryGirl.create(:bigbluebutton_playback_format) } it { should belong_to(:recording) } it { should validate_presence_of(:recording_id) } it { should validate_presence_of(:format_type) } it { should_not validate_presence_of(:url) } it { should_not validate_presence_of(:length) } [:recording_id, :format_type, :url, :length].each do |attribute| it { should allow_mass_assignment_of(attribute) } end end
Version data entries
3 entries across 3 versions & 1 rubygems