Skip to content

Commit

Permalink
Let this test internal class not be globally leaking
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Nov 15, 2017
1 parent c8a2f17 commit 09a2344
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/helper_test.rb
Expand Up @@ -2,11 +2,11 @@
require 'test_helper'
require "active_model/naming"

class FormModel
extend ActiveModel::Naming
end

class HelperTest < Haml::TestCase
class FormModel
extend ActiveModel::Naming
end

TEXT_AREA_CONTENT_REGEX = /<(textarea)[^>]*>\n(.*?)<\/\1>/im

Post = Struct.new('Post', :body, :error_field, :errors)
Expand Down

0 comments on commit 09a2344

Please sign in to comment.