Sha256: 7be9d348538593b38c1bf93d7083d6af56319f05bab747bae0b66e524a77d328
Contents?: true
Size: 502 Bytes
Versions: 9
Compression:
Stored size: 502 Bytes
Contents
require 'test_helper' describe Gtk::TargetEntry do describe '.new' do it 'takes and uses three arguments' do entry = Gtk::TargetEntry.new('foo', 3, 42) entry.target.must_equal 'foo' entry.flags.must_equal 3 entry.info.must_equal 42 end it 'allows symbol values for the second argument' do entry = Gtk::TargetEntry.new('foo', :same_app, 42) entry.target.must_equal 'foo' entry.flags.must_equal 1 entry.info.must_equal 42 end end end
Version data entries
9 entries across 9 versions & 1 rubygems