Sha256: ce969b146ca68005b2ef9687004a37ba829f33e0a14eda0adbad67e5e742f3c7

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

#!/usr/bin/env ruby
# Copyright (C) 2011, 2014 Matijs van Zuijlen
# Incorporates code Copyright (C) 2007 Joseph Method
#
# This file is part of Alexandria, a GNOME book collection manager.
#
# Alexandria is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# Alexandria is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with Alexandria; see the file COPYING.  If not,
# write to the Free Software Foundation, Inc., 51 Franklin Street,
# Fifth Floor, Boston, MA 02110-1301 USA.

require 'minitest/autorun'

require 'gettext'
require 'alexandria'

LIBDIR = File.expand_path(File.join(File.dirname(__FILE__), '/data/libraries'))
TESTDIR = File.join(LIBDIR, 'test')

def an_artist_of_the_floating_world
  Alexandria::Book.new('An Artist of the Floating World',
                       'Kazuo Ishiguro',
                       '9780571147168',
                       'Faber and Faber', 1999,
                       'Paperback')
end

module Alexandria
  class Library
    DIR.replace TESTDIR
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alexandria-book-collection-manager-0.6.9.pre1 test/test_helper.rb