Sha256: b7deef7ee5a3c43305358a4eb631481e0bea982323afd6efab0f74e1e61a82ad

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

Given /^I have the following users$/ do |table|
  table.hashes.each do |item|
    User.make(item)
  end  
end

Then /^I should see the user login name link to the user page$/ do
  response.should have_tag("a[href=#{admin_user_path(@user)}]", :text => @user.login)
end

Then /^I should see the user full name link to the user page$/ do
  response.should have_tag("a[href=#{admin_user_path(@user)}]", :text => @user.full_name)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rules_engine_users-0.0.3 rails_generators/templates/features/admin/user/step_definitions/index_steps.rb
rules_engine_users-0.0.2 rails_generators/templates/features/admin/user/step_definitions/index_steps.rb
rules_engine_users-0.0.1 rails_generators/templates/features/admin/user/step_definitions/index_steps.rb