summaryrefslogtreecommitdiff
path: root/test/library_specs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/library_specs.rb')
-rw-r--r--test/library_specs.rb19
1 files changed, 1 insertions, 18 deletions
diff --git a/test/library_specs.rb b/test/library_specs.rb
index a87a87c..35f5eda 100644
--- a/test/library_specs.rb
+++ b/test/library_specs.rb
@@ -1,22 +1,5 @@
require "book"
-
-# require "library"
-class Library
- def initialize
- @books = []
- end
- def add(book)
- @books << book
- end
- def contains(title)
- # puts @books.public_methods
- found = @books.find do |book|
- book.title == title
- end
- found != nil
- # @books.any?
- end
-end
+require "library"
class TestLibrary < Test::Unit::TestCase
def setup