Sha256: 6c8c87f309f0589bb21da45107f9cf682c2c9e9b4283aa92b2d8d6ec2cc51021

Contents?: true

Size: 877 Bytes

Versions: 6

Compression:

Stored size: 877 Bytes

Contents

require 'spec_helper'

describe Bnet::WOW::Data do
  it "autoloads WoW's dat modules"
  # expect(Bnet::WOW::Data.autoload?(Bnet::WOW::Data::Base)).to_not be_nil
  # expect(Bnet::WOW::Data.autoload?(:Battlegroup)).to_not be_nil
  # expect(Bnet::WOW::Data.autoload?(:BattleterRaces)).to_not be_nil
  # expect(Bnet::WOW::Data.autoload?(:BattleterClasses)).to_not be_nil
  # expect(Bnet::WOW::Data.autoload?(:BattleterAchivements)).to_not be_nil
  # expect(Bnet::WOW::Data.autoload?(:Battleewards)).to_not be_nil
  # expect(Bnet::WOW::Data.autoload?(:Battlechievements)).to_not be_nil
  # expect(Bnet::WOW::Data.autoload?(:Battleasses)).to_not be_nil
  # expect(Bnet::WOW::Data.autoload?(:Battles)).to_not be_nil
  # expect(Bnet::WOW::Data.autoload?(:Battlees)).to_not be_nil

  it "doesn't load other modules" do
    expect(Bnet::WOW::Data.autoload?(:Zoom)).to be_nil
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bnet-0.0.10 spec/bnet/wow/data_spec.rb
bnet-0.0.5 spec/bnet/wow/data_spec.rb
bnet-0.0.4 spec/bnet/wow/data_spec.rb
bnet-0.0.3 spec/bnet/wow/data_spec.rb
bnet-0.0.2 spec/bnet/wow/data_spec.rb
bnet-0.0.1 spec/bnet/wow/data_spec.rb