I am doing homework and should check to see if the column in the table provided HTML. I copied the example from web_steps.rb and tried to change to fit my needs, but the test failed. Step:
And I should not see 'G'
Invalid step definition:
Then /^(?:|I )should not see '([^']*)'$/ do |text| save_and_open_page if page.respond_to? :should page.find('
Error:
expected #has_no_content? ("G") to return true, received false (RSpec :: Expectations :: ExpectationNotMetError). / features / step _definitions / movie_steps.rb: 35: in /^(?:|I )should not see '([^']*)'$/' features/filter_movie_list.feature:37:in And I should not see "G"
movies is a table identifier.
The table looks like this: 
I was stuck here and could not move on. Can someone give me some hint to solve this problem?
source share