Sha256: c6a1954f7dcaa94bef3d11bf2a387c14b5ace78ee444ae180f4ad10f513554c1

Contents?: true

Size: 412 Bytes

Versions: 6

Compression:

Stored size: 412 Bytes

Contents

describe UnderOs::UI::Style do
  before do
    @view  = UnderOs::UI::View.new
    @style = @view.style
  end

  it "should be an instance of UnderOs::UI::Style" do
    @style.class.should == UnderOs::UI::Style
  end

  it "should incapsulate the Element's raw uiview object" do
    @style.view.should === @view._
  end

  it "should always return the same object" do
    @view.style.should === @style
  end

end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
under-os-ui-1.4.0 spec/under_os/ui/style_spec.rb
under-os-1.3.0 spec/lib/under_os/ui/style_spec.rb
under-os-1.2.1 spec/lib/under_os/ui/style_spec.rb
under-os-1.2.0 spec/lib/under_os/ui/style_spec.rb
under-os-1.1.0 spec/lib/under_os/ui/style_spec.rb
under-os-1.0.0 spec/lib/under_os/ui/style_spec.rb