Method: Capybara::Queries::StyleQuery#failure_message

Defined in:
lib/capybara/queries/style_query.rb

#failure_messageObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
32
# File 'lib/capybara/queries/style_query.rb', line 29

def failure_message
  +"Expected node to have styles #{@expected_styles.inspect}. " \
   "Actual styles were #{@actual_styles.inspect}"
end