Skip to content

can't get CoffeeScript changes to work #24

@biophysicsguy

Description

@biophysicsguy

I have very carefully repeated sections 9.5.1 and 9.5.2 which involve the CoffeeScript changes. I have even copied the relevant files (creating_tickets_spec.rb and the tickets.coffee) from the chapter9-review branch from GitHub and keep getting:

  1. Creating Tickets with multiple attachments
    Failure/Error: within("#ticket .assets") do
    Capybara::ElementNotFound:
    Unable to find css "#ticket .assets")

The problem is in this section of the scenario
within("#ticket .assets") do
expect(page).to have_content("speed.txt")
expect(page).to have_content("spin.txt")
end

I have even done a file compare between my project and the one in the chapter9-review branch and cannot seem to find the problem. (I have also gone through the other branches as well).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions