Fix #260 issues with privacy policy (#261)

* <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:
John Ma
2018-09-14 14:33:58 -04:00
committed by Jesus Federico
parent 4fb1a008ca
commit d83ec1a027
10 changed files with 50 additions and 14 deletions

View File

@ -26,6 +26,7 @@ def random_valid_user_params
email: Faker::Internet.email,
password: pass,
password_confirmation: pass,
accepted_terms: true,
},
}
end
@ -37,7 +38,8 @@ describe UsersController, type: :controller do
name: "Invalid",
email: "example.com",
password: "pass",
passwrd_confirmation: "invalid",
password_confirmation: "invalid",
accepted_terms: false,
},
}
end