You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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 |