Sha256: 35c40a329f9cf573276ea976bc234e7cc574cb6972b731cc796d498d8f93e359
Contents?: true
Size: 509 Bytes
Versions: 22
Compression:
Stored size: 509 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.classes.each { |k| k } end.should_not raise_error(NameError) end it 'should include data_miner definitions' do lambda do Earth.classes.each { |k| k.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
22 entries across 22 versions & 1 rubygems