spec/jldrill/views/gtk/MainWindowView_spec.rb in jldrill-0.5.1.7 vs spec/jldrill/views/gtk/MainWindowView_spec.rb in jldrill-0.6.0.1

- old
+ new

@@ -1,5 +1,6 @@ +# encoding: utf-8 require 'Context/Bridge' require 'jldrill/contexts/MainContext' require 'jldrill/views/gtk/MainWindowView' require 'jldrill/views/gtk/OptionsView' require 'jldrill/spec/StoryMemento' @@ -35,11 +36,11 @@ end it "should have an icon" do @story.setup(JLDrill::Gtk) @story.start - @story.view.icon.should_not be(nil) - @story.view.mainWindow.icon.should be_equal(@story.view.icon) + @story.view.icon.icon.should_not be(nil) + @story.view.mainWindow.icon.should be_equal(@story.view.icon.icon) @story.shutdown end end end