Port global text hints to the new conf

This commit is contained in:
Andy Meneely
2015-04-28 21:01:49 -04:00
parent 923f346575
commit 1dc89ae76a
3 changed files with 23 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
require 'spec_helper'
describe Squib::Deck do
context '#hint' do
it 'sets hinting to conf' do
mock_conf = double(Squib::Conf)
expect(mock_conf).to receive(:text_hint=).with(:cyan).once
Squib::Deck.new do
@conf = mock_conf
hint text: :cyan
end
end
end
end