Skip to content

Instantly share code, notes, and snippets.

@gbissett
Created November 28, 2009 07:36
Show Gist options
  • Save gbissett/244433 to your computer and use it in GitHub Desktop.
Save gbissett/244433 to your computer and use it in GitHub Desktop.
how to have multiple abingo tests?
Loading development environment (Rails 2.2.2)
>> Abingo.test('yay', [1,2])
=> 1
>> Abingo.test('yay', [1,2])
=> 1
>> Abingo.test('hay', [1,2])
TypeError: can't modify frozen array
from /Users/grant/dev/soundfolder/vendor/plugins/abingo/lib/abingo.rb:65:in `<<'
from /Users/grant/dev/soundfolder/vendor/plugins/abingo/lib/abingo.rb:65:in `test'
from (irb):3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment