Skip to content

Instantly share code, notes, and snippets.

@jonhoman
Created March 21, 2011 01:56
Show Gist options
  • Save jonhoman/878905 to your computer and use it in GitHub Desktop.
Save jonhoman/878905 to your computer and use it in GitHub Desktop.
Cucumber VCR examples
Given /^I have a feed I want to edit$/ do
VCR.use_cassette("feed") do
@feed = Factory :feed
end
end
When /^I make an external call$/ do
VCR.use_cassette("feed") do
When 'I press "Create Feed"'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment