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