From ef86ed491ca38b2fe9026906d5b704dca236365d Mon Sep 17 00:00:00 2001 From: Arthur Neves Date: Sun, 21 Dec 2014 00:51:03 -0500 Subject: [PATCH] Fix boolean type on app test --- spec/models/app_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/models/app_spec.rb b/spec/models/app_spec.rb index 0d57a51..5903577 100644 --- a/spec/models/app_spec.rb +++ b/spec/models/app_spec.rb @@ -6,7 +6,7 @@ describe App do it { should have_field(:_id).of_type(String) } it { should have_field(:name).of_type(String) } it { should have_fields(:api_key, :github_repo, :bitbucket_repo, :asset_host, :repository_branch) } - it { should have_fields(:resolve_errs_on_deploy, :notify_all_users, :notify_on_errs, :notify_on_deploys).of_type(Boolean) } + it { should have_fields(:resolve_errs_on_deploy, :notify_all_users, :notify_on_errs, :notify_on_deploys).of_type(Mongoid::Boolean) } it { should have_field(:email_at_notices).of_type(Array).with_default_value_of(Errbit::Config.email_at_notices) } end @@ -243,4 +243,3 @@ describe App do end end - -- libgit2 0.21.2