parent
850beb72e1
commit
2a731e8350
31 changed files with 491 additions and 57 deletions
8
spec/models/commercial_spec.rb
Normal file
8
spec/models/commercial_spec.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Commercial do
|
||||
|
||||
it { should validate_presence_of(:commercial_id) }
|
||||
it { should validate_presence_of(:commercial_type) }
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue