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

can't get CoffeeScript changes to work #24

Open
biophysicsguy opened this issue Mar 3, 2015 · 5 comments
Open

can't get CoffeeScript changes to work #24

biophysicsguy opened this issue Mar 3, 2015 · 5 comments

Comments

@biophysicsguy
Copy link

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).

@radar
Copy link
Contributor

radar commented Mar 3, 2015

Please only refer to the master branch. What is on the other branches is not important. It is the master branch and only the master branch which will be published.

On 4 Mar 2015, at 02:11, biophysicsguy notifications@github.com wrote:

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).


Reply to this email directly or view it on GitHub.

@sevenseacat
Copy link
Member

Can you push your repository to Github so we can see your code?

@biophysicsguy
Copy link
Author

I am doing computational physics at the moment so I don't have time to
figure out how to do that. The attached zip goes to the end of chapter
9 with the bad lines commented out at the bottom of
'creating_tickets_spec.rb' file. I even replaced almost all of files
with that found in the chapter9-review branch and it still didn't pass.
I know Ryan doesn't want me referring to anything other than the
'master' but it is old. Good luck.

On 3/3/2015 7:01 PM, Rebecca Skinner wrote:

Can you push your repository to Github so we can see your code?


Reply to this email directly or view it on GitHub
#24 (comment).

@idoan
Copy link

idoan commented Mar 5, 2015

Hi there rayn, I keep checking both your twitter account and github public activity feed just to see a clue for the release date of the updated 4.2 r4ia book. Can you give a date estimate for those like me in your twitter account, please? In a week, in a month, in 6 months ? Thanks.

@radar
Copy link
Contributor

radar commented Mar 5, 2015

@comptrol: if it was up to me it would've been published already, and only in digital format. The book is 98% complete. It's not up to me, it's up to Manning. Go and ask them.

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

4 participants