mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 17:55:55 +02:00
Merge branch 'master' of github.com:internetee/registry
This commit is contained in:
commit
70d600c487
13 changed files with 130 additions and 36 deletions
|
@ -34,7 +34,7 @@ describe Contact do
|
|||
before(:each) { @contact = Fabricate(:contact) }
|
||||
|
||||
it 'should return true' do
|
||||
expect(@contact.valid?).to be true
|
||||
expect(@contact.valid?).to be true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
5
spec/models/setting_group_spec.rb
Normal file
5
spec/models/setting_group_spec.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
require "rails_helper"
|
||||
|
||||
describe SettingGroup do
|
||||
it { should have_many(:settings) }
|
||||
end
|
5
spec/models/setting_spec.rb
Normal file
5
spec/models/setting_spec.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
require "rails_helper"
|
||||
|
||||
describe Setting do
|
||||
it { should belong_to(:setting_group) }
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue