<    March 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 29 30 31
01:45 pietia joined
01:53 pietia_ joined
01:55 Strzalek_ joined
01:56 pietia joined
02:17 ashley_moran joined
02:26 tvw joined
03:02 robholland joined
03:02 robholland joined
03:08 blaxter joined
03:10 tomtt joined
03:19 towski joined
03:35 josephwilk joined
03:47 komi joined
03:54 towski joined
04:38 jschoolcraft joined
04:45 anathematic joined
04:47 thebluecasket joined
04:54 fermion joined
05:05 tvw joined
05:10 jomz joined
05:18 ubiquitous joined
05:21 textarcana joined
05:22 merboutpost joined
05:24 jxie joined
05:24 thebluecasket joined
06:20 jomz joined
06:22 markj9 joined
06:28 jxie joined
06:35 magpieuk joined
06:38 robholland joined
06:38 robholland joined
07:04 jxie joined
07:06 mixandgo joined
07:09 GitHub63 joined
07:09 <GitHub63> rspec-mocks: master David Chelimsky * 2918d46 (1 files in 1 dirs): clarify example - http://bit.ly/bZXpzv
07:09 GitHub63 left
07:13 path[l] joined
07:13 <path[l]> hi how do I check if one hash contains another with rspec?
07:14 <technicalpickles> hash.should have_key(:blah)
07:14 <technicalpickles> path[l]: ^
07:15 <path[l]> so I run it in a loop?
07:15 <technicalpickles> oh sorry
07:15 <path[l]> besides I also want to check values
07:15 <path[l]> I mean if I want to compare {:a => 1, :b =>2} and say it should be contained in {:a => 1, :b =>2, :c => 3}
07:16 <technicalpickles> hash.should include(other_hash) maybe
07:17 <technicalpickles> http://rspec.rubyforge.org/rspec/1.3.0/classes/Spec/Matchers.html#M000175
07:17 <technicalpickles> generally a good place to check for matchers too, btw
07:21 jsmith23 joined
07:28 textarcana joined
07:42 nevans joined
07:44 s_dana joined
07:47 j_dana joined
08:01 altogether joined
08:12 benlovell joined
08:13 jxie joined
08:16 stepheneb joined
08:21 bakineggs joined
08:34 mabes joined
08:46 egunderson joined
08:56 technicalpickles joined
08:56 technicalpickles joined
08:59 hgimenez joined
09:11 GitHub143 joined
09:11 <GitHub143> rspec-mocks: master David Chelimsky * d11b3fd (3 files in 2 dirs): scope module for Ruby 1.9
09:11 <GitHub143> rspec-mocks: master David Chelimsky * a6a25f4 (11 files in 2 dirs): bangless stub
09:11 <GitHub143> rspec-mocks: master David Chelimsky * 650cd24 (20 files in 4 dirs): double down
09:11 <GitHub143> rspec-mocks: master commits 2918d46...650cd24 - http://bit.ly/bapERy
09:11 GitHub143 left
09:14 dchelimsky joined
09:32 stepheneb joined
09:32 adamhunter joined
09:49 komi joined
09:53 bdimcheff joined
09:57 eddanger joined
10:05 bcardarella joined
10:11 markj9_ joined
10:13 imajes joined
10:22 jhenderson joined
10:24 BobFunk joined
10:25 mabes joined
10:31 amerine joined
10:39 markj9 joined
10:47 geetarista joined
11:08 stepheneb joined
11:11 eddanger joined
11:21 path[l] joined
11:28 altogether joined
11:38 jomz joined
11:48 thebluecasket joined
12:01 stepheneb_ joined
12:08 markj9 joined
12:11 stepheneb joined
12:20 zodiak joined
12:21 j_dana joined
12:23 eydaimon joined
12:23 <eydaimon> http://pastie.org/874203 <- what am I missing here? I'm getting errors that "pending" is not a defined method
12:33 <eydaimon> that was beta.2 btw
12:33 <eydaimon> trying again
12:33 <eydaimon> perhaps a spec --version would be useful
12:35 blaxter joined
12:36 <eydaimon> ugh, now it's not loading correctly
12:36 <eydaimon> fixed, and still same problem with pendin
12:39 <technicalpickles> eydaimon: could you paste to gist.github.com? opendns seems to think pastie is a phishing site
12:41 <eydaimon> sure thing
12:42 <eydaimon> http://gist.github.com/335572
12:44 <technicalpickles> beta you said?
12:44 <eydaimon> rspec (2.0.0.beta.4)
12:45 <eydaimon> ruby 1.9.1p378
12:46 <technicalpickles> I don't see any pending methods, weird
12:46 <technicalpickles> I think it's a WIP
12:47 <technicalpickles> http://github.com/rspec/rspec-core/blob/master/features/pending/pending_examples.feature#L1
12:48 <eydaimon> using cucumber to test rspec?
12:49 <technicalpickles> crazy, right? :)
12:49 <eydaimon> yah :P
12:49 <eydaimon> anyway, so WIP then? only for 2.0.0 ?
12:50 <eydaimon> oh, now I see the @wip on the top
12:50 <eydaimon> I missed that before
12:50 <technicalpickles> sorry, that's what I meant to highlight :)
12:51 path[l] joined
12:53 <eydaimon> yeah, it's highlighted, just was so small at the top :P
12:56 <technicalpickles> pending is pending. oh the irony!
12:59 xkickflip joined
13:07 josephwilk joined
13:15 <eydaimon> haha
13:15 <eydaimon> seems like an odd thing to release a beta for and not include
13:15 damnpepe joined
13:20 agile joined
13:30 dchelimsky joined
13:37 markj9_ joined
13:44 SiaCo joined
14:07 BobFunk joined
14:12 bcardarella_ joined
14:19 bcardarella joined
14:21 altogether joined
14:34 geetarista joined
14:37 <SiaCo> Hi! I'm trying out Rails 3 beta and Rspec-2 beta 4 .. It seems rather slow to me running `rake spec` or `spec spec/models/a_model_spec.rb`. It seems that both commands are slower getting than rspec used with rails 2.3.5. It is getting started which takes time; once the green specs-dots starts popping up the speeds seems okay. Anyone noticed this too?
14:41 <SiaCo> hm, might be rails 3 is kinda slow booting
14:42 a2ron joined
14:43 <a2ron> Can someone please inform me how to set the user agent with rspec. I'm getting the index action. get :index, nil, ??
15:02 thebluecasket joined
15:21 <a2ron> any help? I've tried get :index, nil, :headers => {'HTTP_USER_AGENT' => 'bblaaaah'} but it doens't seem to work
15:28 <eydaimon> is there a way to use haml without installing it as a plugin for rails 3?
15:28 <eydaimon> oh, wrong channel
15:29 nkabbara joined
15:30 <nkabbara> Hi, I'm trying to test a metal using cucumber, but it seems stubbing isn't extending all the way to the metal code. Any idea why? Thanks.
15:32 <a2ron> soooo, seems like this works. @request.env[:user_agent] = 'FeedBurner/1.0 (http://www.FeedBurner.com)'
15:32 <a2ron> yay, so happy.
15:33 <a2ron> whoops, this works: @request.user_agent = 'FeedBurner/1.0 (http://www.FeedBurner.com)'
15:48 Licenser__ joined
15:55 zodiak joined
16:16 merboutpost joined
16:28 BobFunk joined
16:34 revans joined
16:42 markj9 joined
16:47 merboutpost joined
16:48 zodiak joined
16:56 revans joined
17:08 jhenderson joined
17:21 markj9 joined
17:22 markj9 joined
17:50 zodiak joined
18:02 zodiak joined
18:09 agile joined
18:17 markj9 joined
18:21 a2ron joined
18:24 werdnativ joined
18:45 beilabs_ joined
18:49 markj9 joined
18:52 imajes joined
19:18 merboutpost_ joined
19:18 mabes joined
19:33 a2ron joined
19:37 technicalpickles joined
19:37 technicalpickles joined
19:44 technicalpickles joined
19:44 technicalpickles joined
19:45 technicalpickles joined
19:45 technicalpickles joined
19:45 techpickles joined
20:25 technicalpickles joined
20:27 technicalpickles joined
20:29 j_dana joined
20:58 rsl joined
20:58 jxie joined
20:58 beilabs_ joined
20:58 textarcana joined
21:03 zodiak joined
21:13 a2ron joined
21:16 hgimenez joined
21:53 zodiak joined
22:19 jxie joined
22:26 mabes joined
22:39 path[l] joined
22:40 GitHub27 joined
22:40 <GitHub27> rspec-core: master David Chelimsky * bb574fe (3 files in 3 dirs): remove -O option from generated test command in autotest/rspec2 - http://bit.ly/9k4j4n
22:40 GitHub27 left