Skip to content

Instantly share code, notes, and snippets.

@snusnu
Created September 25, 2009 01:26
Show Gist options
  • Save snusnu/193195 to your computer and use it in GitHub Desktop.
Save snusnu/193195 to your computer and use it in GitHub Desktop.
## no idea
'Merb::Controller#cookies creating should append secure to the end of the cookie header when marked as such' FAILED
expected "safecook=no-hackers-here; domain=specs.merbivore.com; path=/; secure;" to match /secure$/
## probably bundler related
'using dependency to require a simple gem loads dependencies immediately if Merb is already started' FAILED
expected not nil, got nil
'using depdendency to require a simple gem immediately loads it right away' FAILED
expected not nil, got nil
'using depdendency to require a simple gem immediately is still loaded once Merb starts' FAILED
expected not nil, got nil
Spec::Mocks::MockExpectationError in 'Kernel#use_orm should add the the orm plugin as a dependency'
Kernel expected :dependency with ("merb_activerecord") once, but received it 0 times
Spec::Mocks::MockExpectationError in 'Kernel#use_template_engine should add merb-haml as a dependency for :haml'
Kernel expected :dependency with ("merb-haml") once, but received it 0 times
Spec::Mocks::MockExpectationError in 'Kernel#use_test should require test dependencies when in 'test' env'
Kernel expected :dependencies with (["hpricot", "webrat"]) once, but received it 0 times
'using dependency to update the version of a previously required dependency loads the second one when merb starts' FAILED
expected not nil, got nil
'using dependency to require a bad gem raises an error when Merb starts because it can't find the file to require' FAILED
expected LoadError but nothing was raised
'using dependency to require a bad gem immediately loads it right away' FAILED
expected not nil, got nil
'using dependency to require a bad gem immediately loads the file once Merb is started' FAILED
expected not nil, got nil
'using dependency to require a bad gem with a version loads the file once Merb is started' FAILED
expected not nil, got nil
'using dependency to require a bad gem loads the file once Merb is started' FAILED
expected not nil, got nil
'using dependency to require a simple gem loads it when merb starts' FAILED
expected not nil, got nil
'using dependency to require a simple gem with a version loads it when merb starts' FAILED
expected not nil, got nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment