bug #4832 - send the rspec test and changelog

This commit is contained in:
Gabriel Lima 2014-04-15 09:23:58 -03:00
parent 00b6a39ad5
commit f6c0648a55
2 changed files with 6 additions and 0 deletions

View file

@ -26,6 +26,7 @@ Read more in [#4249](https://github.com/diaspora/diaspora/pull/4249) and [#4883]
* SPV: Improve padding and interaction counts [#4426](https://github.com/diaspora/diaspora/pull/4426)
## Bug fixes
* Fix email body language when invite a friend [#4832](https://github.com/diaspora/diaspora/issues/4832)
* Improve time agos by updating the plugin [#4280](https://github.com/diaspora/diaspora/issues/4280)
* Do not add a space after adding a mention [#4767](https://github.com/diaspora/diaspora/issues/4767)
* Fix active user statistics by saving a last seen timestamp for users [#4734](https://github.com/diaspora/diaspora/issues/4734)

View file

@ -41,6 +41,11 @@ describe EmailInviter do
inviter.locale.should == 'en'
end
it 'should symbolize keys' do
inviter = EmailInviter.new(@emails, @user, 'locale' => 'es')
inviter.locale.should == 'es'
end
it 'listens to the langauge option' do
inviter = EmailInviter.new(@emails, @user, :locale => 'es')
inviter.locale.should == 'es'