Skip to content

Instantly share code, notes, and snippets.

@flazz
Forked from anonymous/gist:239024
Created November 19, 2009 21:10
Show Gist options
  • Save flazz/239053 to your computer and use it in GitHub Desktop.
Save flazz/239053 to your computer and use it in GitHub Desktop.
% spec sp.rb ~
...nil
{"Content-Type"=>"text/html"}
.Fnil
{"Content-Type"=>"text/html"}
Fnil
{"Content-Type"=>"text/html"}
.
1)
NameError in 'Submission Service returns 400 on POST if request is missing Content-MD5 header'
undefined local variable or method `env' for #<Spec::Example::ExampleGroup::Subclass_1:0x1010d4a10>
./sp.rb:42:
2)
'Submission Service returns 400 on POST if there is no body' FAILED
expected: "Missing body",
got: "Missing parameter: X-Package-Name" (using ==)
./sp.rb:52:
Finished in 0.052979 seconds
7 examples, 2 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment