mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-30 11:47:57 -04:00
20 lines
433 B
Ruby
20 lines
433 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
describe "places/_map_attribution.html.haml", type: :view 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
|