spec/array_branch_spec.rb in compo-0.4.0 vs spec/array_branch_spec.rb in compo-0.5.0
- old
+ new
@@ -1,10 +1,10 @@
require 'spec_helper'
require 'compo'
require 'array_composite_shared_examples'
require 'branch_shared_examples'
-describe Compo::Branches::Array do
+RSpec.describe Compo::Branches::Array do
it_behaves_like 'a branch with children' do
let(:initial_ids) { [0, 1] }
end
it_behaves_like 'an array composite'
end