Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


make the BDD tests pass #1

merged 1 commit into from

2 participants


No description provided.

@tudorconstantin tudorconstantin merged commit ebda8de into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 11, 2012
  1. behaviors.t test fix

    root authored
This page is out of date. Refresh to see the latest.
2  t/features/mojo.feature 100644 → 100755
@@ -14,7 +14,7 @@ Feature: Simple Mojolicious Application Testing
Scenario: Being able to login
When I go to "login"
- Then I should see the "logout" url
+ Then I should see the "Logout" url
And I should see the "Logged\\s+in\\s+as" text
And I should see the "Mojolicious\\s+and\\s+Bootstrap" text
4 t/features/step_definitions/ 100644 → 100755
@@ -11,6 +11,10 @@
Given qr/a mojo test object for the "(.+)" application/, func ($c) {
use_ok( $1 );
my $tm = Test::Mojo->new( $1 );
+ # Allow redirects
+ $tm->ua->max_redirects(5);
ok( $tm, "Object created" );
$c->stash->{'feature'}->{'tm'} = $tm;
ok( $c->stash->{'feature'}->{'tm'}, "Got our Test::Mojo object" );
Something went wrong with that request. Please try again.