Skip to content

Instantly share code, notes, and snippets.

@coderberry
Created August 26, 2011 19:31
Show Gist options
  • Select an option

  • Save coderberry/1174223 to your computer and use it in GitHub Desktop.

Select an option

Save coderberry/1174223 to your computer and use it in GitHub Desktop.
example testing
# Add this to your test/test_helper.rb below `require 'test_help'`
require 'minitest/autorun'
# Change any tests you want to use the new syntax and filename
lead_submissions_spec.rb
# Example syntax for SPEC:
require 'test_helper'
describe LeadIntake::Core do
it "should work" do
proc { raise ArgumentError }.must_raise ArgumentError
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment