Sha256: ebe7ab94d06a5b47263b6558cacc130dd219e4d5a3b2dfe5d24f1a373a873273
Contents?: true
Size: 397 Bytes
Versions: 1
Compression:
Stored size: 397 Bytes
Contents
require 'spec_helper' describe Calagator::SourcesHelper, type: :helper do describe '#source_url_link' do it 'returns an unspiderable link that opens in a new window' do source = double(url: 'http://google.com') expect(helper.source_url_link(source)).to match_dom_of \ %(<a href="http://google.com" rel="nofollow" target="_BLANK">http://google.com</a>) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
calagator-1.1.0 | spec/helpers/calagator/sources_helper_spec.rb |