Permalink
Browse files

Merge pull request #18129 from claudiob/remove-unused-sheep-fixture-f…

…rom-action-view

Remove unused Sheep fixture from AV
  • Loading branch information...
guilleiguaran committed Dec 22, 2014
2 parents e21bd33 + 7375c17 commit d402b15d39e7b0a746eac18118cddfa751e9f4c9
@@ -111,19 +111,6 @@ def value
end
end
class Sheep
extend ActiveModel::Naming
include ActiveModel::Conversion
attr_reader :id
def to_key; id ? [id] : nil end
def save; @id = 1 end
def new_record?; @id.nil? end
def name
@id.nil? ? 'new sheep' : "sheep ##{@id}"
end
end
class TagRelevance
extend ActiveModel::Naming
include ActiveModel::Conversion
@@ -9,7 +9,6 @@ def setup
@record = @klass.new
@singular = 'comment'
@plural = 'comments'
@uncountable = Sheep
end
def test_dom_id_with_new_record

0 comments on commit d402b15

Please sign in to comment.