Sha256: 16bfd60ff7bf671ebddf612a7c420b3468c1d3ea393ba0c8589cbc2dca7a9049
Contents?: true
Size: 604 Bytes
Versions: 1
Compression:
Stored size: 604 Bytes
Contents
# frozen_string_literal: true # This file is part of Alexandria. # # See the file README.md for authorship and licensing information. require 'spec_helper' describe Alexandria::UI::NewBookDialog do let(:parent) { Gtk::Window.new :toplevel } let(:model) { Gtk::ListStore.new(String, String, GdkPixbuf::Pixbuf) } it 'should work' do described_class.new parent end it 'can copy search results into result treeview' do results = [[an_artist_of_the_floating_world, 'cover-url']] dialog = described_class.new parent dialog.copy_results_to_treeview_model results, model end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alexandria-book-collection-manager-0.7.3 | spec/alexandria/ui/dialogs/new_book_dialog_spec.rb |