spec/punchblock/ref_spec.rb in punchblock-0.5.1 vs spec/punchblock/ref_spec.rb in punchblock-0.6.0
- old
+ new
@@ -15,7 +15,13 @@
it_should_behave_like 'event'
its(:id) { should == 'fgh4590' }
end
+
+ describe "when setting options in initializer" do
+ subject { Ref.new :id => 'foo' }
+
+ its(:id) { should == 'foo' }
+ end
end
end # Punchblock