Skip to content

Commit

Permalink
fix custom format definition (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Jun 18, 2019
1 parent fa8120b commit 3b10096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/appium_capybara/ext/selector_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Capybara
class Selector::Definition

def custom(f, &block)
@format, @expression = f, block if block
@expressions[f] = block if block
end

end
Expand Down

0 comments on commit 3b10096

Please sign in to comment.