Commit ef86ed491ca38b2fe9026906d5b704dca236365d

Authored by Arthur Neves
1 parent 9a6544ae
Exists in master and in 1 other branch production

Fix boolean type on app test

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
spec/models/app_spec.rb
@@ -6,7 +6,7 @@ describe App do @@ -6,7 +6,7 @@ describe App do
6 it { should have_field(:_id).of_type(String) } 6 it { should have_field(:_id).of_type(String) }
7 it { should have_field(:name).of_type(String) } 7 it { should have_field(:name).of_type(String) }
8 it { should have_fields(:api_key, :github_repo, :bitbucket_repo, :asset_host, :repository_branch) } 8 it { should have_fields(:api_key, :github_repo, :bitbucket_repo, :asset_host, :repository_branch) }
9 - it { should have_fields(:resolve_errs_on_deploy, :notify_all_users, :notify_on_errs, :notify_on_deploys).of_type(Boolean) } 9 + it { should have_fields(:resolve_errs_on_deploy, :notify_all_users, :notify_on_errs, :notify_on_deploys).of_type(Mongoid::Boolean) }
10 it { should have_field(:email_at_notices).of_type(Array).with_default_value_of(Errbit::Config.email_at_notices) } 10 it { should have_field(:email_at_notices).of_type(Array).with_default_value_of(Errbit::Config.email_at_notices) }
11 end 11 end
12 12
@@ -243,4 +243,3 @@ describe App do @@ -243,4 +243,3 @@ describe App do
243 end 243 end
244 244
245 end 245 end
246 -