Sha256: baf6887dd654507a2ffbb6008c61cb3285672e3e2446d3904325996dcde298bf

Contents?: true

Size: 570 Bytes

Versions: 2

Compression:

Stored size: 570 Bytes

Contents

# frozen_string_literal: true

# This file is part of Alexandria.
#
# See the file README.md for authorship and licensing information.

require File.dirname(__FILE__) + "/../../spec_helper"

describe Alexandria::UI::BookPropertiesDialog do
  it "works" do
    parent = Gtk::Window.new :toplevel
    library = instance_double(Alexandria::Library, name: "Bar Library", cover: "")
    book = Alexandria::Book.new("Foo Book", ["Jane Doe"], "98765432", "Bar Publisher",
                                1972, "edition")
    described_class.new parent, library, book
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alexandria-book-collection-manager-0.7.5 spec/alexandria/ui/book_properties_dialog_spec.rb
alexandria-book-collection-manager-0.7.4 spec/alexandria/ui/book_properties_dialog_spec.rb