| settings_spec.rb - warvox - VoIP based wardialing tool, forked from rapid7/warv… | |
| git clone git://jay.scot/warvox | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| settings_spec.rb (404B) | |
| --- | |
| 1 # == Schema Information | |
| 2 # | |
| 3 # Table name: settings | |
| 4 # | |
| 5 # id :integer not null, primary key | |
| 6 # var :string(255) not null | |
| 7 # value :text | |
| 8 # thing_id :integer | |
| 9 # thing_type :string(30) | |
| 10 # created_at :datetime | |
| 11 # updated_at :datetime | |
| 12 # | |
| 13 | |
| 14 require 'rails_helper' | |
| 15 | |
| 16 RSpec.describe Settings, type: :model do | |
| 17 it "valid record" do | |
| 18 expect(build(:setting)).to be_valid | |
| 19 end | |
| 20 end |