Sha256: 75ef4c7093e547d10597afc26ff33723f3721a987b983c0f43d3c1b514f80b29
Contents?: true
Size: 440 Bytes
Versions: 3
Compression:
Stored size: 440 Bytes
Contents
require 'test_helper' describe Gtk::Action do let(:action) { Gtk::Action.new('hi', 'Hello', 'hey there', Gtk::STOCK_FILE) } describe '#create_icon' do it 'works when called with a symbol' do result = action.create_icon :dialog result.must_be_instance_of Gtk::Image end it 'works when called with an integer' do result = action.create_icon 4 result.must_be_instance_of Gtk::Image end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-gtk-0.14.1 | test/gir_ffi-gtk/action_test.rb |
gir_ffi-gtk-0.14.0 | test/gir_ffi-gtk/action_test.rb |
gir_ffi-gtk-0.13.1 | test/gir_ffi-gtk/action_test.rb |