Skip to content

Commit

Permalink
Removed the now defunced Linked#List along with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seblindberg committed Aug 7, 2016
1 parent ca49f50 commit fb53c38
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
2 changes: 0 additions & 2 deletions lib/linked.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@
require 'linked/list'

module Linked
def self.List(object)

end
end
11 changes: 3 additions & 8 deletions test/linked_test.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
require 'test_helper'

describe Linked do
it 'has a version number' do
refute_nil ::Linked::VERSION
end
subject { ::Linked }

describe '#List' do
it 'returns the list back when given one'
it 'inserts one or more Items into a new list'
it 'converts an array to a List'
it 'wraps an arbitrary object in a single Item in a new List'
it 'has a version number' do
refute_nil subject::VERSION
end
end
4 changes: 0 additions & 4 deletions test/list_test.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
require 'test_helper'

class ListLike
include Linked::List
end

describe Linked::List do
subject { ListLike }

Expand Down
4 changes: 4 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
require 'linked'

require 'minitest/autorun'

class ListLike
include Linked::List
end

0 comments on commit fb53c38

Please sign in to comment.