Sha256: f9a0606f60f7ea219819d78c4daf1ab4bdd9ca79825c98a7fe4564d60d64087e

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

require 'spec_helper'
require 'earth/hospitality/lodging_class'

describe LodgingClass do
  describe 'when importing data', :data_miner => true do
    before do
      Earth.init :hospitality, :load_data_miner => true
    end
    
    it 'imports data' do
      LodgingClass.run_data_miner!
    end
  end
  
  describe 'verify imported data', :sanity => true do
    it { LodgingClass.count.should == 3 }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
earth-0.12.4 spec/earth/hospitality/lodging_class_spec.rb