These are chat archives for mojotech/pioneer

11th
Aug 2014
Josh
@joshtombs
Aug 11 2014 15:37
@samccone how extensive does this first test have to be? can it just be like one step When I enter something
or does it have to be asserting things and going through everything
Sam Saccone
@samccone
Aug 11 2014 15:37
just a single simple test
most people want the code to open a browser
goto a url
interact with the page
and assert
that is all
any ideas why that can't read
Sam Saccone
@samccone
Aug 11 2014 15:57
what is the error?
ah ah
you need to return
out of each step
otherwise it thinks it is done
Josh
@joshtombs
Aug 11 2014 15:58
ooo
yuck
coffescript is way better
Sam Saccone
@samccone
Aug 11 2014 15:58
hahah
yep
Josh
@joshtombs
Aug 11 2014 15:59
do you have the ability to edit my gists?
like where do they go?
Sam Saccone
@samccone
Aug 11 2014 16:00
nope
Josh
@joshtombs
Aug 11 2014 16:01
the error says Object function() { has no method readAt
Sam Saccone
@samccone
Aug 11 2014 16:02
you are missing new
on line 13
Josh
@joshtombs
Aug 11 2014 16:02
mmm'
same error
Sam Saccone
@samccone
Aug 11 2014 16:02
dont do it all inline like that
List = Widgets.List.extend({
  ...
})

return new List().readAt("4").should.eventually.eql("wow");
Josh
@joshtombs
Aug 11 2014 16:06
okay that works. i actually didnt need a new
Sam Saccone
@samccone
Aug 11 2014 16:06
nice
Josh
@joshtombs
Aug 11 2014 16:06
that threw an error
Josh
@joshtombs
Aug 11 2014 18:12
@samccone mojotech/pioneer#149 for some reason this keeps failing on CI
i just pushed again, so its gonna take a minute
weird
Josh
@joshtombs
Aug 11 2014 18:20
yeah i feel like that isnt my code that i added
thats causing the error
Josh
@joshtombs
Aug 11 2014 19:41
@samccone okay just pushed up an exception, if theres alrdy a test folder it makes those dirs under it
Josh
@joshtombs
Aug 11 2014 21:03
@samccone mojotech/pioneer#149 left one comment for you
other than the prompt thing
should be good
might be able to replace sync-prompt with https://github.com/anseki/readline-sync