spec/shared/features/mappable.rb
Line is too long. [105/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
scenario "Should not display map on #{mappable_factory_name} show when marker is not defined", :js do
- Exclude checks
Line is too long. [111/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
scenario "Should not display map on #{mappable_factory_name} show page when feature.map is disable", :js do
- Exclude checks
Line is too long. [101/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(page).to have_selector(".map_location[data-marker-latitude='#{map_location.latitude}']")
- Exclude checks
Line is too long. [110/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(page).to have_selector(".map_location[data-marker-latitude='#{mappable.map_location.latitude}']")
- Exclude checks
Line is too long. [164/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
shared_examples "mappable" do |mappable_factory_name, mappable_association_name, mappable_new_path, mappable_edit_path, mappable_show_path, mappable_path_arguments|
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(find("##{mappable_factory_name}_map_location_attributes_latitude", visible: false).value).to eq "51.48"
- Exclude checks
Line is too long. [111/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(find("##{mappable_factory_name}_map_location_attributes_longitude", visible: false).value).to eq "0.0"
- Exclude checks
Line is too long. [137/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
let!(:map_location) { create(:map_location, "#{mappable_factory_name}_map_location".to_sym, "#{mappable_association_name}": mappable) }
- Exclude checks
Line is too long. [110/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(page).to have_selector(".map_location[data-marker-latitude='#{mappable.map_location.latitude}']")
- Exclude checks
Line is too long. [104/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
scenario "Can not display map on #{mappable_factory_name} edit when feature.map is disabled", :js do
- Exclude checks
Line is too long. [105/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(page).not_to have_selector(".map_location[data-marker-latitude='#{map_location.latitude}']")
- Exclude checks