Skip to content

Instantly share code, notes, and snippets.

@zspencer
Created February 25, 2011 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zspencer/843260 to your computer and use it in GitHub Desktop.
Save zspencer/843260 to your computer and use it in GitHub Desktop.
Then /the following change agents exist:/ do |change_agents_table|
# | name | purpose | reason_to_support | home_page |
change_agents_table.hashes.each do |hash|
ChangeAgent.all(:name=>hash['name'], :purpose=>hash['purpose'], :reason_to_support=>hash['reason_to_support']).should_not == 0
end
end
And the following stuff exist:
| name | purpose | reason_to_support | home_page |
| A change agent | awesome stuff | Because they are friggen awesome! | http://www.google.com |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment