spec/balboa/interactor/interactor_wrapper_spec.rb in balboa-0.1.3 vs spec/balboa/interactor/interactor_wrapper_spec.rb in balboa-0.1.4
- old
+ new
@@ -20,6 +20,15 @@
described_class.new(interactor).last
expect(interactor).to have_received(:last).once
end
+
+ it 'forwards options call to its dependency' do
+ interactor = double
+ allow(interactor).to receive(:options)
+
+ described_class.new(interactor).options
+
+ expect(interactor).to have_received(:options).once
+ end
end