Sha256: 69437c602e0543a15620d155cee38c476d0258785e97fa000a4221f995676567

Contents?: true

Size: 952 Bytes

Versions: 56

Compression:

Stored size: 952 Bytes

Contents

require 'spec_helper'
include Gemwarrior

describe Gemwarrior do
  let(:default_load_options) do
    GameOptions.add 'log_file_path', "#{Dir.home}/.gemwarrior_log"
    GameOptions.add 'options_file_path', "#{Dir.home}/.gemwarrior_options"
  
    Game.new(
      beast_mode:     false,
      debug_mode:     false,
      god_mode:       false,
      new_game:       false,
      sound_enabled:  false,
      sound_volume:   0.3,
      use_wordnik:    false,
      extra_command:  nil
    )
  end

  describe 'basic properties' do
    it 'has a version number' do
      expect(VERSION).not_to be nil
    end
    it 'display help menu' do
      pending
    end
  end
  
  describe 'game load' do
    context 'default options' do
      it 'displays the main menu' do
        pending
      end
    end
    context 'new game option enabled' do
      it 'displays the main game prompt and runs the look command' do
        pending
      end
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
gemwarrior-0.15.18 spec/gemwarrior_spec.rb
gemwarrior-0.15.17 spec/gemwarrior_spec.rb
gemwarrior-0.15.16 spec/gemwarrior_spec.rb
gemwarrior-0.15.15 spec/gemwarrior_spec.rb
gemwarrior-0.15.14 spec/gemwarrior_spec.rb
gemwarrior-0.15.13 spec/gemwarrior_spec.rb
gemwarrior-0.15.12 spec/gemwarrior_spec.rb
gemwarrior-0.15.11 spec/gemwarrior_spec.rb
gemwarrior-0.15.10 spec/gemwarrior_spec.rb
gemwarrior-0.15.9 spec/gemwarrior_spec.rb
gemwarrior-0.15.8 spec/gemwarrior_spec.rb
gemwarrior-0.15.7 spec/gemwarrior_spec.rb
gemwarrior-0.15.6 spec/gemwarrior_spec.rb
gemwarrior-0.15.5 spec/gemwarrior_spec.rb
gemwarrior-0.15.4 spec/gemwarrior_spec.rb
gemwarrior-0.15.3 spec/gemwarrior_spec.rb
gemwarrior-0.15.2 spec/gemwarrior_spec.rb
gemwarrior-0.15.1 spec/gemwarrior_spec.rb
gemwarrior-0.15.0 spec/gemwarrior_spec.rb
gemwarrior-0.14.8 spec/gemwarrior_spec.rb