Sha256: 665fb7366f49189ace392e7bff35015dd8720282d1845a1bd53fe8a0595c569b

Contents?: true

Size: 405 Bytes

Versions: 3

Compression:

Stored size: 405 Bytes

Contents

# -*- coding: utf-8 -*-
require 'spec_helper'

describe 'require \'dxruby\'' do
  before do
    require 'dxruby'
  end

  %w[
    Window
    Image
    Font
  ].each do |klass_name|
    it "トップレベルに#{klass_name}が定義されている" do
      expect {
        # rubocop:disable Eval
        eval("::#{klass_name}")
        # rubocop:enable Eval
      }.not_to raise_error
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dxruby_sdl-0.0.4 spec/dxruby_spec.rb
dxruby_sdl-0.0.3 spec/dxruby_spec.rb
dxruby_sdl-0.0.2 spec/dxruby_spec.rb