Sha256: 98ca9cc2b4916522f9efdedff80a2dba7417c460ac02ac7213b82ebba8f605b5
Contents?: true
Size: 400 Bytes
Versions: 12
Compression:
Stored size: 400 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
12 entries across 12 versions & 2 rubygems