Sha256: 2350e0c3c83cc72de988657b1a14ff517d7f3fa3feee00f904e55003a196e1e0
Contents?: true
Size: 429 Bytes
Versions: 5
Compression:
Stored size: 429 Bytes
Contents
Given /^I am signed in as "([^\"]*)"$/ do |email_and_password| email, password = email_and_password.split("/") Given %{I am signed up as "#{email}/#{password}"} When %{I go to the sign in page} And %{I sign in as "#{email}/#{password}"} end Then /^I should be logged out$/ do page.should have_css("a[href='#{login_path}']") end Then /^I should be logged in$/ do page.should have_css("a[href='#{logout_path}']") end
Version data entries
5 entries across 5 versions & 1 rubygems