Skip to content

Commit

Permalink
Implement test for FontAwesome#initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
ruedap committed Nov 8, 2014
1 parent 54ce0d3 commit 140436d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions workflow/spec/font_awesome_spec.rb
Expand Up @@ -200,6 +200,14 @@
end
end

describe '#initialize' do
it 'assigns @selected_icons' do
fa = described_class.new
actual = fa.instance_variable_get(:@selected_icons)
expect(actual).not_to be_nil
end
end

describe '#select!' do
context 'with "hdd"' do
let(:icons) { described_class.new.select!(%w(hdd), glob_icons) }
Expand Down

0 comments on commit 140436d

Please sign in to comment.