Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Generate random short, non-offensive words. Good for human-readable confirmation codes.

tree: cd948aadef

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 shoulda_macros
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION.yml
Octocat-spinner-32 init.rb adding should_be_webster_word shoulda macro November 28, 2008
Octocat-spinner-32 webster.gemspec
README.textile

Webster

Generate random short words. Good for human-readable confirmation codes.

Install

sudo gem install dancroak-webster —source=http://gems.github.com

Usage

require ‘rubygems’ require ‘webster’ include Webster random => “spoonless”

Shoulda macro

context “Subscription#activation_code” do setup do subscription = Factory :subscription @word = subscription.set_activation_code end should_be_webster_word “@word”

Authors

Webster was written for Umbrella Today? by thoughtbot. It was extracted into a stand-alone Ruby gem by Dan Croak.

License

MIT License, same terms as Ruby

Something went wrong with that request. Please try again.