mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-30 04:35:17 +01:00
major restructuring/refactoring of application.js. finally scratched that itch. Some tests are failing to be fixed later.
This commit is contained in:
parent
88a524a8d6
commit
879fbc99e2
12 changed files with 606 additions and 642 deletions
|
|
@ -7,7 +7,7 @@ Given /^I have logged in as "(.*)" with password "(.*)"$/ do |username, password
|
|||
if response.respond_to? :selenium
|
||||
selenium.wait_for_page_to_load(5000)
|
||||
end
|
||||
response.should contain(/Login successful/)
|
||||
response.should contain(/Logout \(#{username}\)/)
|
||||
@current_user = User.find_by_login(username)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue