Changeset 951 for branches/features


Ignore:
Timestamp:
May 29, 2011, 4:35:05 PM (14 years ago)
Author:
gav
Message:

Turns out that we can use when/then with where: in LoginSpec and it's a better fit in this case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/features/purchaseOrders/test/functional/LoginSpec.groovy

    r950 r951  
    3535    //@Unroll("Username: '#username' with password: '#password' should fail to login.")
    3636    def "If we type in the wrong password or username"() {
    37         expect:
     37        when:
    3838        login(username, password)
     39
     40        then:
    3941        at LoginPage
    4042        verifyLoginFailureMessage()
Note: See TracChangeset for help on using the changeset viewer.