Sha256: e682a9d8ff359d367c80e930cf3e6c272e935d97112b44cad61519d814a55ea9

Contents?: true

Size: 238 Bytes

Versions: 5

Compression:

Stored size: 238 Bytes

Contents

require 'spec_helper'

describe 'geo_redirect:fetch_db' do
  include_context 'rake'

  it 'downloads a GeoIP db to a location' do
    dbfile = Tempfile.new('db')
    subject.invoke(dbfile.path)
    expect(dbfile.size).to be > 0
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geo_redirect-0.8 spec/lib/tasks/geo_redirect_spec.rb
geo_redirect-0.7 spec/lib/tasks/geo_redirect_spec.rb
geo_redirect-0.6 spec/lib/tasks/geo_redirect_spec.rb
geo_redirect-0.5.1 spec/lib/tasks/geo_redirect_spec.rb
geo_redirect-0.5 spec/lib/tasks/geo_redirect_spec.rb