spec/constant_branch_spec.rb in compo-0.4.0 vs spec/constant_branch_spec.rb in compo-0.5.0
- old
+ new
@@ -1,10 +1,10 @@
require 'spec_helper'
require 'compo'
require 'branch_shared_examples'
require 'leaf_composite_shared_examples'
-describe Compo::Branches::Constant do
+RSpec.describe Compo::Branches::Constant do
let(:value) { 3.141592653 }
subject { Compo::Branches::Constant.new(value) }
it_behaves_like 'a branch'
it_behaves_like 'a leaf composite'