Skip to content

Instantly share code, notes, and snippets.

@keithrbennett
Created June 19, 2011 21:31
Show Gist options
  • Select an option

  • Save keithrbennett/1034785 to your computer and use it in GitHub Desktop.

Select an option

Save keithrbennett/1034785 to your computer and use it in GitHub Desktop.
Beginning of rspec test class for ReverseEncrypter
require 'rspec'
require 'reverse_encrypter'
describe ReverseEncrypter do
it "should implement required methods" do
lambda { subject.validate_contract }.should_not raise_error
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment