Correct test description

pull/1509/head
Hagen Schink 10 years ago
parent 9459d5eed8
commit 07ecfb7ea7
  1. 2
      spec/models/copy_project_job_spec.rb

@ -46,7 +46,7 @@ describe CopyProjectJob do
allow(UserMailer).to receive(:copy_project_failed).and_return(double("mailer", deliver: true))
end
it 'calls #with_locale_for' do
it 'sets locale correctly' do
expect(copy_job).to receive(:create_project_copy) do |*args|
expect(I18n.locale).to eq(:de)
[nil, nil]

Loading…
Cancel
Save