react-webpack-rails-tutorial icon indicating copy to clipboard operation
react-webpack-rails-tutorial copied to clipboard

Rspec tests are not working

Open vtamara opened this issue 2 years ago • 0 comments

Running rake produces errors like:

An error occurred while loading ./spec/system/destroy_comment_spec.rb.          
Failure/Error: background { visit comments_path }                               
                                                                                
NoMethodError:                                                                  
  undefined method `background' for RSpec::ExampleGroups::DestroyAComment::WhenFromClassicPage:Class
  Did you mean?  around                                                         
# ./spec/system/shared/contexts.rb:16:in `block in <top (required)>'            
# ./spec/system/destroy_comment_spec.rb:7:in `block in <top (required)>'        
# ./spec/system/destroy_comment_spec.rb:6:in `<top (required)>' 

vtamara avatar Mar 27 '22 04:03 vtamara