Skip to content

Commit dd1c7c3

Browse files
committed
Delete spec
1 parent d3ca482 commit dd1c7c3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

spec/system/avo/location_field_spec.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,12 @@
5858
let!(:city) { create :city, latitude: 48.8584, longitude: 2.2945 }
5959

6060
context "show" do
61-
before do
61+
it "renders a map" do
6262
Avo::Fields::LocationField::ShowComponent.any_instance.stub(:js_map).and_return("map_content_here")
6363
visit "/admin/resources/cities/#{city.id}"
64-
end
6564

66-
it "renders a map" do
6765
expect(page).to have_text("map_content_here")
6866
end
69-
70-
it "applies mapkick options correctly" do
71-
expect(page).to have_css("div#location-map [data-marker-color='#000']")
72-
end
7367
end
7468

7569
context "edit" do

0 commit comments

Comments
 (0)