and another one..
This commit is contained in:
parent
e3ad068f40
commit
5bdbd2558c
1 changed files with 4 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
|||
Given /i am logged in as a user in the (.*) role/i do |role|
|
||||
#@user = Factory.create(:user, :name => "Espen Antonsen",
|
||||
# :email => "espen@inspired.no",
|
||||
# :password => "megmeg")
|
||||
# :email => "balder@balderapp.com",
|
||||
# :password => "balder")
|
||||
#@role = Factory.create(:role, :rolename => role)
|
||||
#@user.roles << @role
|
||||
visits "/login"
|
||||
fills_in("email", :with => "espen@inspired.no")
|
||||
fills_in("password", :with => "megmeg")
|
||||
fills_in("email", :with => "balder@balderapp.com")
|
||||
fills_in("password", :with => "balder")
|
||||
clicks_button("Log in")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue