Sha256: ce25437b5d0ff6a98d44fd2025d1186a7c202914c394db0042853a4368868373
Contents?: true
Size: 547 Bytes
Versions: 20
Compression:
Stored size: 547 Bytes
Contents
require 'spec_helper' describe Earth do before :all do Earth.init :all, :apply_schemas => true end it 'should require all Earth models' do lambda do Earth.resource_names.each { |k| k.constantize } end.should_not raise_error(NameError) end it 'should include data_miner definitions' do lambda do Earth.resource_names.each { |k| k.constantize.should_receive(:data_miner) } end require 'earth/data_miner' end it 'should create a fallbacks table' do Fallback.should be_table_exists end end
Version data entries
20 entries across 20 versions & 2 rubygems