Sha256: 51e0cb634038e185ddf5d5cbc5ae1ecae93265215b00c49e6098eae3c8089f9c
Contents?: true
Size: 636 Bytes
Versions: 1
Compression:
Stored size: 636 Bytes
Contents
# -*- coding: utf-8 -*- require 'spec_helper' describe DXRubySDL do describe '::VERSION' do subject { described_class::VERSION } it { should be_instance_of(String) } it { should match(/\A[0-9]\.[0-9]+\.[0-9]+\z/) } end 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dxruby_sdl-0.0.1 | spec/dxruby_sdl_spec.rb |