00:50
RurouniJones joined
05:31
ashley_moran joined
06:14
charlenopires joined
06:16
jschoolcraft joined
06:54
mrchrisadams joined
09:04
jschoolcraft joined
10:43
<ashley_moran>
hi is anyone here using RSpec (1.3.0) on Ruby 1.9.1?
10:45
<ashley_moran>
and/or using Bundler on the project?
10:45
<ashley_moran>
i'm not being too specific, there must be hundreds of you :)
11:05
<path[l]>
hi does anyone know if mocha allows me to use a statemachine to constrain a stub?
11:10
<hgimenez>
"undefined method `mock' for #<Rspec::Core::ExampleGroup::NestedLevel_1:0x00000102187e80>" (Rspec 2.0.0.a4) - do I need how/where do I require rspec/mocks
11:17
<technicalpickles>
hgimenez: I'm pretty sure it's a separate gem now, the mock stuff
11:17
<technicalpickles>
if I were to guess, it'd be in require 'rspec/mocks' in spec_helper.rb
11:18
<hgimenez>
tried that, no go
11:19
<technicalpickles>
no go in what sense
11:19
<technicalpickles>
it didn't define mock, or it failed some other way
11:19
<hgimenez>
still undefinied method 'mock'
11:20
<technicalpickles>
maybe look in the source to see where 'mock' comes from? :)
11:23
<hgimenez>
should be able to figure this out. I got it working on one app that was ported to rails 3, but not on a plugin that is tested with rspec...
13:56
ashley_moran joined
15:01
<foca>
where's rspec 2 development happening?
15:01
<foca>
oh, duh, github.com/rspec
15:01
<foca>
I kept checking dchelimsky :)
16:21
mrchrisadams joined
17:24
jschoolcraft joined
18:59
mrchrisadams joined
23:23
<path[l]>
hi, Im having some trouble with the "should raise_error" thing
23:23
<path[l]>
my tests are failing because of the error
23:23
<path[l]>
I expected the should raise_error to catch it
23:39
<path[l]>
oh it needs a lambda :/, lame.
23:39
<path[l]>
but yeah I see why
23:40
<path[l]>
otherwise you'd have to parse the test and replace pieces of code with lambda