| call_medium_spec.rb - warvox - VoIP based wardialing tool, forked from rapid7/w… | |
| git clone git://jay.scot/warvox | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| call_medium_spec.rb (580B) | |
| --- | |
| 1 # == Schema Information | |
| 2 # | |
| 3 # Table name: call_media | |
| 4 # | |
| 5 # id :integer not null, primary key | |
| 6 # call_id :integer not null | |
| 7 # project_id :integer not null | |
| 8 # audio :binary | |
| 9 # mp3 :binary | |
| 10 # png_big :binary | |
| 11 # png_big_dots :binary | |
| 12 # png_big_freq :binary | |
| 13 # png_sig :binary | |
| 14 # png_sig_freq :binary | |
| 15 # | |
| 16 | |
| 17 require 'rails_helper' | |
| 18 | |
| 19 RSpec.describe CallMedium, type: :model do | |
| 20 it { should belong_to(:call) } | |
| 21 it { should belong_to(:project) } | |
| 22 | |
| 23 it "valid record" do | |
| 24 expect(build(:call_medium)).to be_valid | |
| 25 end | |
| 26 end |