diff options
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 c2c287b99..4f7c1bd69 100644 --- a/spec/helpers/table_builder_helper_spec.rb +++ b/spec/helpers/table_builder_helper_spec.rb @@ -177,7 +177,7 @@ describe TableBuilderHelper, type: :helper do          referential: referential        )        allow(helper).to receive(:current_user).and_return(user_context) -      allow(TableBuilderHelper::URL).to receive(:current_referential) +      allow(helper).to receive(:current_referential)          .and_return(referential)        companies = [company] @@ -286,7 +286,7 @@ describe TableBuilderHelper, type: :helper do          referential: referential        )        allow(helper).to receive(:current_user).and_return(user_context) -      allow(TableBuilderHelper::URL).to receive(:current_referential) +      allow(helper).to receive(:current_referential)          .and_return(referential)        companies = [company] | 
