Anyone using tableish?

First time trying it, and it is not working or I think it is not.

Here is the failing 'Then' code.

Then "$actor should see players table" do |_, expected_table|
  html_table = tableish('table#player_table tr', 'td,th')
puts   html_table.to_s
  expected_table.diff!(html_table)
end

puts is giving [] empty array.

Scenario: Activated player should be able to see a listing of accounts
    Given no player with login: 'reggie' exists
      And an activated player logged in as 'reggie'
      And the following player records
       | login | name         | email                            |
tournaments_count |
       | john  | John Doe   | [email protected] | 5
|
       | jane  | Jane Doe  | [email protected] | 3
|
     When she goes to players
     Then she should see players table
        | john   | John Doe  | 5 |
       | nancy  | Jane Doe | 3 |
       | reggie | Reggie Doe    | 0 |


Thanks.

GregD

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to