customer_vault 1.2.9 → 1.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +63 -1
- data/app/controllers/customer_vault/corporations_controller.rb +1 -1
- data/app/models/customer_vault/person.rb +4 -0
- data/app/views/customer_vault/corporations/_form.html.slim +4 -0
- data/app/views/customer_vault/corporations/_show_details.html.slim +4 -0
- data/config/locales/fr.yml +4 -0
- data/db/migrate/20150520104617_add_legal_form_to_customer_vault_corporations.rb +5 -0
- data/db/migrate/20150520105342_add_capital_to_customer_vault_corporations.rb +5 -0
- data/db/migrate/20150520105426_add_immatriculation_number_1_to_customer_vault_corporations.rb +5 -0
- data/db/migrate/20150520105439_add_immatriculation_number_2_to_customer_vault_corporations.rb +5 -0
- data/lib/customer_vault/version.rb +1 -1
- data/spec/dummy/db/schema.rb +12 -8
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -15507
- data/spec/dummy/log/test.log +1 -69556
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/HeHWjP35NIHplJXmAMutQEw3NgEfpjqYMtGKr9gh1K0.cache +1 -0
- data/spec/factories/dorsale_address.rb +1 -1
- data/spec/models/customer_vault/corporation_spec.rb +4 -0
- metadata +922 -936
- data/spec/dummy/log/bin/test.log +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
"%ۙ��U�&<�q|<����j�;T%l��Ծ�)�
|
@@ -3,6 +3,10 @@ require 'rails_helper'
|
|
3
3
|
module CustomerVault
|
4
4
|
RSpec.describe Corporation, :type => :model do
|
5
5
|
it { should have_one :address }
|
6
|
+
it { should respond_to :legal_form }
|
7
|
+
it { should respond_to :capital }
|
8
|
+
it { should respond_to :immatriculation_number_1 }
|
9
|
+
it { should respond_to :immatriculation_number_2 }
|
6
10
|
it { should have_many :comments }
|
7
11
|
it { should have_many :taggings }
|
8
12
|
it { should have_many :tags }
|