Sha256: 5e0506079d39485395788ae7521bfda16928be9b9aad6a51f0dd52dec073f7ba

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 Bytes

Contents

require 'spec_helper'
require 'woyo/world/world'

describe Woyo::World do

  let(:world) { Woyo::World.new }

  it 'has attribute :start' do
    expect(world.attributes).to be_instance_of Woyo::Attributes::AttributesHash
    expect(world.attributes.names).to include :start
  end

  it 'has locations' do
    expect(world.locations).to be_empty
  end

  it 'has characters' do
    expect(world.characters).to be_empty
  end

  it 'has items' do
    expect(world.items).to be_empty
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
woyo-world-0.0.8 spec/woyo/world/world_spec.rb
woyo-world-0.0.7 spec/woyo/world/world_spec.rb