polarblau / capycorder

Chrome extension, generating Capybara request spec steps based on user interaction.
https://chrome.google.com/webstore/detail/niijdolnjmjdjakbanogihdlhcbhfkho
83 stars 15 forks source link

jquery.get_selector test fails #13

Closed simi closed 12 years ago

simi commented 12 years ago

jquery.get_selector should return nth child selector. Expected '.same:nth-child(2)' to equal '.inner > .same:nth-child(2)'.

Error: Expected '.same:nth-child(2)' to equal '.inner > .same:nth-child(2)'.
    at new <anonymous> (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:102:32)
    at [object Object].toEqual (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:1194:29)
    at [object Object].<anonymous> (http://localhost:4000/spec/lib/jquery_plugins/jquery.get_selector_spec.js:14:54)
    at [object Object].execute (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:1024:15)
    at [object Object].next_ (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:2025:31)
    at [object Object].start (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:1978:8)
    at [object Object].execute (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:2305:14)
    at [object Object].next_ (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:2025:31)
    at [object Object].start (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:1978:8)
    at [object Object].execute (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:2450:14)
polarblau commented 12 years ago

The test might be at fault here.