spec/composite_spec.rb in compo-0.3.1 vs spec/composite_spec.rb in compo-0.4.0
- old
+ new
@@ -2,10 +2,10 @@
require 'compo'
require 'composite_shared_examples'
# Mock implementation of a Composite
class MockComposite
- include Compo::Composite
+ include Compo::Composites::Composite
end
describe MockComposite do
before(:each) { allow(subject).to receive(:children).and_return(children) }
let(:children) { { in_children: child } }