spec/lib/azeroth/resource_builder_spec.rb in azeroth-0.4.0 vs spec/lib/azeroth/resource_builder_spec.rb in azeroth-0.5.0
- old
+ new
@@ -3,10 +3,11 @@
require 'spec_helper'
describe Azeroth::ResourceBuilder do
subject(:resource_builder) { described_class.new(model, builder) }
- let(:model) { Azeroth::Model.new(:document) }
+ let(:model) { Azeroth::Model.new(:document, options) }
+ let(:options) { Azeroth::Options.new }
let(:builder) { Sinclair.new(klass) }
let(:klass) { Class.new(ResourceBuilderController) }
before do
resource_builder.append