Sha256: b05ff7d410460e7e3cee55bd1585bb05d8dfa69c2864a31025c146cd85c01ad8

Contents?: true

Size: 318 Bytes

Versions: 4

Compression:

Stored size: 318 Bytes

Contents

require File.join(__FILE__.gsub(/(.*)?\/spec\/.*$/, '\1'), 'spec/spec_helper')

describe Rtml::Dom::ScreenElement do
  before :each do
    @ele = Rtml::Dom::ScreenElement.new(:name => :screen)
  end

  it "should convert its name to a string after instantiation" do
    @ele.name.should be_a_kind_of(String)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rtml-2.0.3 spec/models/rtml/dom/screen_element_spec.rb
rtml-2.0.2 spec/models/rtml/dom/screen_element_spec.rb
rtml-2.0.1 spec/models/rtml/dom/screen_element_spec.rb
rtml-2.0.0.alpha.1 spec/models/rtml/dom/screen_element_spec.rb