Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant seem to get 11.5.2 to pass #11

Open
axelkanakan opened this issue Dec 11, 2014 · 2 comments
Open

Cant seem to get 11.5.2 to pass #11

axelkanakan opened this issue Dec 11, 2014 · 2 comments

Comments

@axelkanakan
Copy link

Keep getting this error

Failures:

  1. Searching Finding by tag
    Failure/Error: expect(page).to_not have_content("Create users")
    expected not to find text "Create users" in "A test issue #1 - Create projects 6.9 Fixing the Deleting Tickets Feature #2 - Create users"

    ./spec/features/searching_spec.rb:36:in `block (3 levels) in <top (required)>'

    ./spec/features/searching_spec.rb:34:in`block (2 levels) in <top (required)>'

Finished in 0.24721 seconds
1 example, 1 failure

Failed examples:

rspec ./spec/features/searching_spec.rb:31 # Searching Finding by tag

Randomized with seed 35150

I've compared my code with the ticketee_review as well and it still doesn't pass...

Github:https://github.com/krillencoder/ticketee

@axelkanakan
Copy link
Author

Went through the app and it seems to fail because klass is undefined in the ticket.rb search query method.

Rails points to this part of the search method and notes that 'klass' is undefined

  association_table = association.klass.arel_table

@radar
Copy link
Contributor

radar commented Feb 8, 2015

Hi @krillencoder. We're still currently not quite up to that section of the book. We're currently a little earlier in the Chapter (11.4 iirc) and so we'll be getting to that section pretty soon.

Thanks for reporting this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants