ernsheong / ragged-wing-crm

A Customer Relationship Management (CRM) application custom built for Ragged Wing Ensemble, a non-profit arts organization in the Bay Area. Project halted.
7 stars 1 forks source link

[Feature: Log-in System] Implement the Cucumber/RSpec tests #4

Open ktham opened 12 years ago

ernsheong commented 12 years ago

please write a cucumber step in steps.rb for login:

I tried the following: Given /^I am logged in$/ do visit("session/new") fill_in("Email", :with => "raggedwing169") fill_in("Passwd", :with => "berkeley169") click_button("Sign in") end

It doesn't seem to work. Can Peter or Kevin who is more familiar with the login correct this step?