Setting post params in bacon tests - Ramaze/ramaze GitHub Wiki

If you need to pass POST parameters in your bacon test, just provide a hash with the values to the post method :

post("/login",
     'username' => 'manveru',
     'password' => 'sensei').status.should == 200