spec/lib/whipped-cream/plugin_spec.rb in whipped-cream-0.1.0 vs spec/lib/whipped-cream/plugin_spec.rb in whipped-cream-0.1.1
- old
+ new
@@ -37,10 +37,10 @@
end
end
context "with a button" do
before do
- plugin.controls << WhippedCream::Button.new("Open/Close")
+ plugin.controls << WhippedCream::Button.new("Open/Close", pin: 4)
end
its(:controls) { should_not be_empty }
its(:buttons) { should_not be_empty }
end