require 'spec_helper' require 'bh/helpers/glyphicon_helper' include Bh::GlyphiconHelper describe 'glyphicon' do specify 'given an icon name with underscores, returns the icon' do expect(glyphicon :zoom_in).to eq '' end specify 'given an icon name with dashes, returns the icon' do expect(glyphicon 'zoom-out').to eq '' end specify 'given no icon name, returns an empty icon' do expect(glyphicon).to eq '' end specify 'given extra options, passes the options to the ' do expect(glyphicon :ok, title: 'Approved').to eq '' end end