spec/alexandria/ui/preferences_dialog_spec.rb in alexandria-book-collection-manager-0.7.9 vs spec/alexandria/ui/preferences_dialog_spec.rb in alexandria-book-collection-manager-0.7.10
- old
+ new
@@ -7,8 +7,8 @@
require_relative "../../spec_helper"
describe Alexandria::UI::PreferencesDialog do
it "works" do
parent = Gtk::Window.new :toplevel
- described_class.new(parent) { nil }
+ expect { described_class.new(parent) { nil } }.not_to raise_error
end
end