Skip to content

Commit

Permalink
rework filtertable call and add rubocop exception
Browse files Browse the repository at this point in the history
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
  • Loading branch information
clintoncwolfe committed Jul 11, 2019
1 parent a4f4fe5 commit f4b9bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/utils/filter_table_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def initialize(data)

it "retrieves the resource from all entries" do
factory.add_accessor(:where)
.add(:baz?, &:resource)
.add(:baz?) { |x| x.resource } # rubocop: disable Style/SymbolProc
.connect(resource, :data)
instance.baz?.must_equal instance
end
Expand Down

0 comments on commit f4b9bc4

Please sign in to comment.