82cbcc5c1405790e5c1c5bb02731a452503dd074
Mac OS X 10.10.3
Development
Test suite fails when running them with Zeus for the first time.
- Make sure Zeus is not running
zeus start
(wait until all environment have started)zeus rspec spec/
All tests pass.
2 tests fail due to "Email in invalid error"
The failing tests are:
./spec/controllers/admin/communities_controller_spec.rb:12 # Admin::CommunitiesController#update_integrations should allow changing twitter_handle
./spec/controllers/admin/communities_controller_spec.rb:16 # Admin::CommunitiesController#update_integrations should not allow changes to a different community
Failures:
1) Admin::CommunitiesController#update_integrations should allow changing twitter_handle
Failure/Error: sign_in_for_spec(create_admin_for(@community))
ActiveRecord::RecordInvalid:
Validation failed: Emails is invalid
# ./spec/controllers/admin/communities_controller_spec.rb:8:in `block (2 levels) in <top (required)>'
# -e:1:in `<main>'
2) Admin::CommunitiesController#update_integrations should not allow changes to a different community
Failure/Error: sign_in_for_spec(create_admin_for(@community))
ActiveRecord::RecordInvalid:
Validation failed: Emails is invalid
# ./spec/controllers/admin/communities_controller_spec.rb:8:in `block (2 levels) in <top (required)>'
# -e:1:in `<main>'