mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-11-01 10:49:12 -05:00
20 lines
420 B
Ruby
20 lines
420 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
describe "places/_map_attribution.html.haml" do
|
|
before do
|
|
render
|
|
end
|
|
|
|
it "links to OpenStreetMap" do
|
|
assert_select "a", href: "http://openstreetmap.org",
|
|
text: "OpenStreetMap"
|
|
end
|
|
|
|
it "links to the ODbL" do
|
|
assert_select "a", href: "http://www.openstreetmap.org/copyright",
|
|
text: "ODbL"
|
|
end
|
|
end
|