diff --git a/spec/unit/resources/base_spec.rb b/spec/unit/resources/base_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/resources/base_spec.rb
+++ b/spec/unit/resources/base_spec.rb
@@ -37,8 +37,9 @@ module ChefAPI
     describe '.build' do
       it 'creates a new instance' do
         described_class.stub(:new)
+        described_class.stub(:schema).and_return(double(attributes: {}))
 
-        expect(described_class).to receive(:new).with(foo: 'bar')
+        expect(described_class).to receive(:new).with({foo: 'bar'}, {})
         described_class.build(foo: 'bar')
       end
     end
Pass attributes into the Base.build method