diff --git a/lib/nylas/draft.rb b/lib/nylas/draft.rb index d1d9729c..68eb8983 100644 --- a/lib/nylas/draft.rb +++ b/lib/nylas/draft.rb @@ -13,6 +13,7 @@ class Draft self.destroyable = true self.id_listable = true self.countable = true + self.filterable = true attribute :id, :string attribute :object, :string diff --git a/spec/nylas/draft_spec.rb b/spec/nylas/draft_spec.rb index a8fca625..37b2fe90 100644 --- a/spec/nylas/draft_spec.rb +++ b/spec/nylas/draft_spec.rb @@ -3,8 +3,8 @@ require "spec_helper" describe Nylas::Draft do - it "is not filterable" do - expect(described_class).not_to be_filterable + it "is filterable" do + expect(described_class).to be_filterable end it "is creatable" do