spec/alexandria/ui/import_dialog_spec.rb in alexandria-book-collection-manager-0.7.8 vs spec/alexandria/ui/import_dialog_spec.rb in alexandria-book-collection-manager-0.7.9
- old
+ new
@@ -30,10 +30,10 @@
.and_return(an_artist_of_the_floating_world)
end
it "works when response is cancel" do
allow(chooser).to receive(:run).and_return(Gtk::ResponseType::CANCEL)
- import_dialog.acquire {}
+ import_dialog.acquire { nil }
end
it "works when response is OK" do
allow(chooser).to receive(:run).and_return(Gtk::ResponseType::OK)