Skip to content

Instantly share code, notes, and snippets.

@dsbw
Created July 9, 2013 21:48
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 dsbw/5961588 to your computer and use it in GitHub Desktop.
Save dsbw/5961588 to your computer and use it in GitHub Desktop.
require 'rspec'
Given(/^a HubSpot monitor$/) do
@h = HubspotMonitor::HubMon.new
end
And(/^new contact info arriving$/) do
@h.stub(:dummy) {"New contact info"}
end
Then(/^the contact info should be passed into the queue$/) do
pending # express the regexp above with the code you wish you had
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment