Stabilizing the code after the options switch. Getting there...

This commit is contained in:
Andy Meneely
2014-07-28 17:08:57 -04:00
parent e38b5dfdbe
commit f6480445df
11 changed files with 45 additions and 49 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ describe Squib::Deck, '#text' do
context "when working with fonts" do
it"should use the default font when #text and #set_font don't specify" do
card = instance_double(Squib::Card)
expect(card).to receive(:text).with('a', Squib::SYSTEM_DEFAULTS[:font], anything, anything, anything, anything).once
expect(card).to receive(:text).with('a', 'Arial 36', anything, anything, anything, anything).once
Squib::Deck.new do
@cards = [card]
text str: 'a'