Sha256: f19d185470d17f01f48b05554e7bc5a2124604a6183e1bb0bc6ad970e6125ba9
Contents?: true
Size: 446 Bytes
Versions: 8
Compression:
Stored size: 446 Bytes
Contents
require 'test_helper' describe Gtk::MessageDialog do describe ".new" do it "creates a Gtk::MessageDialog with the right text" do dialog = Gtk::MessageDialog.new nil, :modal, :info, :close, 'Foo' dialog.text.must_equal 'Foo' end it "handles all % characters in the message as literals" do dialog = Gtk::MessageDialog.new nil, :modal, :info, :close, 'Foo %' dialog.text.must_equal 'Foo %' end end end
Version data entries
8 entries across 8 versions & 1 rubygems