Check your meta!
git clone [email protected]:netology-group/meta_checker.git && cd meta_checker
- Edit
spec/requests/main_spec.rb
:
- configure
path_to_sitemap
(url or local file - see examples) - set array of required metatags with name attribute -
required_meta_names
- set array of required metatags with property attribute -
require_meta_properties
- Run main spec:
$ bundle
$ rspec
- Optionally you can comment out useless it blocks
- To collect specs data run command:
$ rspec > specs_output