Improved tests.

This commit is contained in:
Martin Edenhofer 2016-12-06 12:07:17 +01:00
parent d675730cdb
commit a2f77017f5

View file

@ -47,6 +47,7 @@ RSpec.describe Translation do
# add custom changes
translation = Translation.find_by(locale: locale, source: 'open')
expect(translation.class).to be(Translation)
expect(translation.target).to eq('offen')
expect(translation.target_initial).to eq('offen')
translation.target = 'offen2'