Sha256: a89333bbe0249c168d99315e0d5264b2948cfdf53fadc731f51d034f6d5250dc
Contents?: true
Size: 463 Bytes
Versions: 1
Compression:
Stored size: 463 Bytes
Contents
# encoding: utf-8 require 'Context/Gtk/App' require 'gtk2' module Context::Gtk describe App do before(:each) do Gtk.should_receive(:init) @app = App.new(Context::Gtk, Context::Context) end it "should start the Gtk main loop when run" do Gtk.should_receive(:main) @app.mainContext.should_receive(:enter) @app.enter end it "should quit the Gtk main loop when quit" do Gtk.should_receive(:main_quit) @app.exit end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jldrill-0.6.0.1 | spec/Context/Gtk/App_spec.rb |