<  February 2010   >
Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28
00:21 stef_ joined
00:27 tvw joined
01:26 blaxter joined
01:39 therrg joined
02:01 magpieuk joined
02:10 greap joined
02:11 <greap> is there a should evaluate as true method? (not nil and not false)
02:11 <greap> Pretty much looking for an assert equivilent
02:13 <greap> I've got "last_response.should ok?" at the moment but it doesn't read very cleanly
02:27 <greap> Ok, figured that out
02:41 jxie joined
02:42 mattwynne joined
02:49 eadz joined
03:07 therrg joined
03:15 altogether joined
03:20 beilabs_ joined
03:45 josephwilk joined
03:46 josephwilk joined
03:54 rds joined
04:05 jschoolcraft joined
04:23 charlenopires joined
05:47 jhenderson joined
06:01 therrg joined
06:04 jxie joined
06:15 robholland joined
06:15 robholland joined
06:15 robholland left
06:30 jxie joined
06:33 stepheneb joined
06:40 jxie joined
06:50 jxie joined
06:58 hgimenez joined
07:11 tvw joined
07:13 jxie joined
07:20 patmaddox joined
07:20 jxie joined
07:30 jxie joined
07:36 hooligan495 joined
07:37 <hooligan495> anybody running autospec w/ jruby?
07:50 s_dana joined
07:52 malesca left
07:59 mattwynne joined
08:03 charleyb joined
08:04 stepheneb joined
08:06 rsl joined
08:06 rsl joined
08:13 altogether joined
08:13 fakingfantastic joined
08:16 PointMan joined
08:17 <PointMan> Can anyone point me to a reference to testing named_scopes? I cant find in the rspec book nor a simple google search
08:22 ashley_moran joined
08:25 <fakingfantastic> PointMan:
08:25 <fakingfantastic> there was a mailing list topic about it
08:25 <PointMan> yeah I read it but either I was too quick at skimming the thread or it didnt provide any examples
08:25 <fakingfantastic> the idea is that you shouldn't be concerning yourself with it
08:26 <fakingfantastic> just concern with it's behavior
08:27 <PointMan> and what do you mean by that? I have some complex named_scopes..
08:27 <PointMan> fakingfantastic: like so? http://www.mail-archive.com/rspec-users@rubyforge.org/msg14447.html
08:28 <fakingfantastic> exaaactly
08:28 <PointMan> ok thanks
08:28 <fakingfantastic> just like you aren't concering yourself with how .create! works
08:28 <fakingfantastic> it's how it "behaves"
08:28 <fakingfantastic> think about writing a rspec for calling twitter
08:29 <fakingfantastic> you have no idea how their API works
08:29 <fakingfantastic> and nor can you find out
08:29 <fakingfantastic> but you don't care, you just wanna make sure that when you ask for your tweets, you get em
08:29 <fakingfantastic> think of the rails API the same way
08:29 <fakingfantastic> and your API, for that matter
08:39 jhenderson joined
08:41 jds joined
08:44 mabes joined
08:50 hooligan495 left
08:50 merboutpost joined
09:01 bronson joined
09:03 <PointMan> gotcha thanks
09:13 agile joined
09:24 technicalpickles joined
09:24 technicalpickles joined
09:31 patmaddox joined
09:54 amerine joined
09:54 imajes joined
10:02 bcardarella joined
10:26 charlenopires joined
10:27 stepheneb joined
10:40 raidfive joined
10:46 locks joined
10:50 zz_foca joined
10:56 path[l] joined
10:56 <path[l]> hi, does anyone have any good examples of view specs
10:58 foca joined
10:58 <fakingfantastic> path[l]: you should check out cucumber
11:00 <path[l]> yeah but thats for integration tests
11:04 <path[l]> I wanted just quick unit tests for the view
11:06 raidfive joined
11:08 raidfive_ joined
11:09 mvanholstyn joined
11:11 eadz joined
11:24 andrun joined
11:24 <andrun> Does rspec work with rails 3?
11:25 WALoeIII joined
11:27 stepheneb joined
11:32 stepheneb joined
11:43 mvanholstyn joined
11:47 stef_ joined
11:48 charleyb joined
11:58 adamaig joined
12:04 cratchit joined
12:25 RobotDeathSquad joined
12:44 bakineggs joined
13:01 tvw joined
13:27 Licenser_ joined
13:38 path[l] joined
13:44 path[l] joined
13:53 rds joined
14:06 <path[l]> hi
14:11 eadz joined
14:32 anathematic joined
14:34 digitalhobbit joined
15:32 jakehow joined
15:37 PointMan joined
15:42 patmaddox joined
15:43 hgimenez joined
15:50 technicalpickles joined
15:50 technicalpickles joined
16:00 emmanueloga joined
16:10 raidfive left
16:23 malesca joined
16:44 raidfive joined
17:00 stepheneb joined
17:09 altogether joined
17:11 hgimenez joined
17:14 jakehow joined
17:30 bakineggs joined
18:20 hgimenez joined
18:24 agile joined
18:41 patmaddox joined
18:41 linoj joined
18:42 jxie joined
18:53 linoj joined
19:08 bdimcheff joined
19:29 hgimenez joined
19:33 linoj joined
20:21 WALoeIII joined
20:25 anathematic joined
20:41 court3nay joined
20:51 charleyb joined
20:59 stef_ joined
21:00 mabes joined
21:25 <path[l]> hi does anyone here have some good examples of writing view tests (not complete integration ones)
21:28 court3nay_ joined
21:32 bdimcheff joined
21:36 court3nay joined
21:37 stef_ joined
22:29 ericindc joined
22:30 anathematic_ joined
22:51 stef_ joined
23:03 PointMan joined
23:38 PointMan joined