New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

georgebrock-assert-microformats

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

georgebrock-assert-microformats

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

AssertMicroformats

A Rails plugin to test pages that contain microformats. Assert that certain microformats are present in the page, and that they have certain properties.

Setup

# In config/environments/test.rb
config.gem "georgebrock-assert-microformats", :source => "http://gems.github.com/", :lib => false

Example

# Ensure @response contains an hCard
assert_mf_hcard

# Ensure @response contains an hCard with fn set to 'George Brocklehurst'
assert_mf_hcard :fn => 'George Brocklehurst'

# Ensure the HTML in my_html contains an hCalendar event with summary set to 'My party'
assert_mf_hcalendar my_html, :summary => 'My party'

Copyright © 2009 George Brocklehurst, released under the MIT license

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc