Skip to content

Commit

Permalink
Merge pull request #88 from amatsuda/rm_as_concern
Browse files Browse the repository at this point in the history
Remove reference to AS::Concern from the codebase
  • Loading branch information
amatsuda authored Nov 25, 2020
2 parents 917a447 + 702c6b8 commit 561787e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 1 addition & 5 deletions lib/rails/dom/testing/assertions.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require 'active_support/concern'
require 'nokogiri'

module Rails
Expand All @@ -7,12 +6,9 @@ module Testing
module Assertions
autoload :DomAssertions, 'rails/dom/testing/assertions/dom_assertions'
autoload :SelectorAssertions, 'rails/dom/testing/assertions/selector_assertions'

extend ActiveSupport::Concern

include DomAssertions
include SelectorAssertions
end
end
end
end
end
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
require 'active_support/concern'

module Rails
module Dom
module Testing
module Assertions
module SelectorAssertions
module CountDescribable
extend ActiveSupport::Concern

private
def count_description(min, max, count) #:nodoc:
if min && max && (max != min)
Expand Down

0 comments on commit 561787e

Please sign in to comment.