spec/i18n_tasks_spec.rb in i18n-tasks-0.2.1 vs spec/i18n_tasks_spec.rb in i18n-tasks-0.2.2
- old
+ new
@@ -15,10 +15,11 @@
end
describe 'unused' do
it 'detects unused' do
TestCodebase.capture_stderr do
- TestCodebase.rake_result('i18n:unused').should be_i18n_keys %w(unused.a unused.numeric unused.plural)
+ out = TestCodebase.rake_result('i18n:unused')
+ out.should be_i18n_keys %w(unused.a unused.numeric unused.plural)
end.should =~ /Unused i18n keys \(3\)/
end
end
describe 'normalize' do