diff options
| author | cedricnjanga | 2017-11-22 00:15:30 +0100 | 
|---|---|---|
| committer | cedricnjanga | 2017-11-22 00:15:30 +0100 | 
| commit | 5489c9482cb8658b8540da2b46bfd28f321d866e (patch) | |
| tree | f1b1cdff940319c1b60879a23b232ecd9d4e9284 /spec/helpers | |
| parent | 763010ced3202c99f705562a373861f926aad9a1 (diff) | |
| download | chouette-core-5489c9482cb8658b8540da2b46bfd28f321d866e.tar.bz2 | |
Fix the delation of the hacking of Chouette::ActiveRecord#model_name to remove the Chouette namespace
off of the construction of link in the app and in other places.
Added a small change in the reflex sync to set the stop_area_referential in the initialization of the object to be in sync with the work on the objectids (need a objectid_formatter)
Diffstat (limited to 'spec/helpers')
| -rw-r--r-- | spec/helpers/table_builder_helper_spec.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/spec/helpers/table_builder_helper_spec.rb b/spec/helpers/table_builder_helper_spec.rb index a8854bf97..de81a85af 100644 --- a/spec/helpers/table_builder_helper_spec.rb +++ b/spec/helpers/table_builder_helper_spec.rb @@ -37,7 +37,7 @@ describe TableBuilderHelper, type: :helper do        referentials = ModelDecorator.decorate(          referentials, -        with: ReferentialDecorator +        with: Chouette::ReferentialDecorator        )        expected = <<-HTML @@ -327,7 +327,7 @@ describe TableBuilderHelper, type: :helper do      </thead>      <tbody>          <tr> -            <td>#{company.objectid.local_id}</td> +            <td>#{company.get_objectid.local_id}</td>              <td title="Voir"><a href="/referentials/#{referential.id}/companies/#{company.id}">#{company.name}</a></td>              <td></td>              <td></td> | 
