spec/punchblock/component/component_node_spec.rb in punchblock-1.2.0 vs spec/punchblock/component/component_node_spec.rb in punchblock-1.3.0
- old
+ new
@@ -3,9 +3,13 @@
require 'spec_helper'
module Punchblock
module Component
describe ComponentNode do
+ subject do
+ Class.new(described_class) { register 'foo'}.new
+ end
+
it { should be_new }
describe "#add_event" do
let(:event) { Event::Complete.new }