test/test/models/user_test.rb in milia-1.1.1 vs test/test/models/user_test.rb in milia-1.2.0
- old
+ new
@@ -23,10 +23,10 @@
should have_many( :tenanted_members )
should have_and_belong_to_many( :tenants )
should_not allow_value("wild blue").for(:email)
should have_db_column(:tenant_id)
- should have_db_column(:skip_confirm_change_password).with_options(default: false)
+ should have_db_column(:skip_confirm_change_password).with_options(default: 'f')
should have_db_index(:email)
should have_db_index(:confirmation_token)
should have_db_index(:reset_password_token)