Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
CloCkWeRX authored Aug 6, 2023
1 parent 8ef6aee commit 4c68ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/lib/fat_free_crm/i18n.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ class TestController < ActionController::Base

let(:entity_string) { 'entities' }
let(:hidden_count) { 10 }
let(:test_controler) { TestController.new }
let(:test_controller) { TestController.new }

it 'should translate hash arguments' do
expect(test_controler.t(:not_showing_hidden_entities, entity: entity_string, count: hidden_count))
expect(test_controller.t(:not_showing_hidden_entities, entity: entity_string, count: hidden_count))
.to eq("Not showing 10 hidden entities.")
end
end

0 comments on commit 4c68ecd

Please sign in to comment.