migrate calendar feature

This commit is contained in:
Reinier Balt 2012-01-30 03:42:47 +01:00
parent 75f2afc2e1
commit de309c8ee8
14 changed files with 87 additions and 224 deletions

View file

@ -6,7 +6,7 @@ Given /^I have logged in as "(.*)" with password "(.*)"$/ do |username, password
click_button "Sign in »"
logout_regexp = @mobile_interface ? "Logout" : "Logout \(#{username}\)"
response.should contain(logout_regexp)
page.should have_content(logout_regexp)
@current_user = User.find_by_login(username)
end