Sha256: e38c6e4872ee98994d2ef79c377253a5cc2bb15d12ca543cc576046de96b2062

Contents?: true

Size: 358 Bytes

Versions: 10

Compression:

Stored size: 358 Bytes

Contents

require 'rails_helper'

RSpec.describe "ActiveAdminLatLng", type: :feature do
  it "render successfully" do
    coordinate = Coordinate.create! lat: '23.23121', lng: '43.32123'

    visit admin_coordinate_path(coordinate)

    expect(page).to have_text 'Coordinate'
    expect(page).to have_text '23.23121'
    expect(page).to have_text '43.32123'
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
activeadmin_latlng-1.5.0 spec/features/form_spec.rb
activeadmin_latlng-1.4.0 spec/features/form_spec.rb
activeadmin_latlng-1.3.0 spec/features/form_spec.rb
activeadmin_latlng-1.2.2 spec/features/form_spec.rb
activeadmin_latlng-1.2.0 spec/features/form_spec.rb
activeadmin_latlng-1.1.0 spec/features/form_spec.rb
activeadmin_latlng-1.0.0 spec/features/form_spec.rb
activeadmin_latlng-0.3.1 spec/features/form_spec.rb
activeadmin_latlng-0.3.0 spec/features/form_spec.rb
activeadmin_latlng-0.2.0 spec/features/form_spec.rb