forked from External/greenlight
* <fixed privacy policy workflow> * <fixed privacy policy workflow> * <changed rspec tests to handle new privacy flow> * <changed rspec tests to handle new privacy flow> * <deleted previous term validation due to changed workflow> * <fixed code style> * <reverted configuration settings> * <Updated terms and conditions for existing users (not omniauth)> * <Fix code style> * <Fixed privacy policy for omniauth> * <Fixed Travis C.I test> * <Minor code changes> * <Undo routes.rb change> * <reconfigured routes.rb>
This commit is contained in:
@ -34,6 +34,8 @@ describe User, type: :model do
|
||||
it { should allow_value("", nil).for(:email) }
|
||||
it { should allow_value("valid@email.com").for(:email) }
|
||||
it { should_not allow_value("invalid_email").for(:email) }
|
||||
it { should allow_value(true).for(:accepted_terms) }
|
||||
it { should allow_value(false).for(:accepted_terms) }
|
||||
|
||||
it { should allow_value("valid.jpg").for(:image) }
|
||||
it { should allow_value("valid.png").for(:image) }
|
||||
|
Reference in New Issue
Block a user