Reload translations in CustomFieldsController spec

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2229/head
Alex Coles 10 years ago
parent d99fcef54e
commit d173fb5a86
  1. 2
      spec/controllers/custom_fields_controller_spec.rb

@ -99,7 +99,7 @@ describe CustomFieldsController, type: :controller do
it { expect(response).to render_template 'new' }
it { expect(assigns(:custom_field).errors.messages[:name].first).to eq "can't be blank" }
it { expect(assigns(:custom_field).translations).to be_empty }
it { expect(assigns(:custom_field).translations(true)).to be_empty }
end
describe 'WITH all ok params' do

Loading…
Cancel
Save