spec/lib/bait_spec.rb in bait-0.5.11 vs spec/lib/bait_spec.rb in bait-0.5.12
- old
+ new
@@ -34,6 +34,12 @@
end
it { should_not be_missing }
end
end
end
+
+ describe "#console" do
+ it "provides access to STDOUT" do
+ Bait.console.should eq STDOUT
+ end
+ end
end