Sha256: 08c3bcf6dd56cc47ef4df702fd96c78748a3c3f896ce3d17ab2a32ceacfd2dd8

Contents?: true

Size: 442 Bytes

Versions: 21

Compression:

Stored size: 442 Bytes

Contents

# https://github.com/motion-kit/motion-kit/issues/42
describe 'Issue #42' do

  before do
    @subject = TestIssue42Layout.new
    @subject.reapply!
  end

  it 'should build' do
    @subject.window.should.be.kind_of(NSWindow)
  end

  it 'should have a cancel_button' do
    @subject.get(:cancel_button).should.be.kind_of(NSButton)
  end

  it 'should have a ok_button' do
    @subject.get(:ok_button).should.be.kind_of(NSButton)
  end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
motion-kit-1.1.1 spec/osx/issue42_spec.rb
motion-kit-1.1.0 spec/osx/issue42_spec.rb
motion-kit-1.0.3 spec/osx/issue42_spec.rb
motion-kit-1.0.2 spec/osx/issue42_spec.rb
motion-kit-1.0.1 spec/osx/issue42_spec.rb
motion-kit-1.0.0 spec/osx/issue42_spec.rb
motion-kit-0.18.0 spec/osx/issue42_spec.rb
motion-kit-0.17.0 spec/osx/issue42_spec.rb
motion-kit-0.16.0 spec/osx/issue42_spec.rb
motion-kit-0.15.0 spec/osx/issue42_spec.rb
motion-kit-0.14.2 spec/osx/issue42_spec.rb
motion-kit-0.14.1 spec/osx/issue42_spec.rb
motion-kit-0.14.0 spec/osx/issue42_spec.rb
motion-kit-0.13.0 spec/osx/issue42_spec.rb
motion-kit-0.12.0 spec/osx/issue42_spec.rb
motion-kit-0.11.2 spec/osx/issue42_spec.rb
motion-kit-0.11.1 spec/osx/issue42_spec.rb
motion-kit-0.11.0 spec/osx/issue42_spec.rb
motion-kit-0.10.11 spec/osx/issue42_spec.rb
motion-kit-0.10.10 spec/osx/issue42_spec.rb