[rspec-users] run rspec by hand (without spec command)

2011-07-25 Thread Wilker
working... this script just load the spec files using require, I meant it will work, but it don't... What Im missing in order to make specs to run after files are loaded? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 _

Re: [rspec-users] Aidmock - safe mocking

2011-01-24 Thread Wilker
think about this new feature? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Wed, Jan 19, 2011 at 4:11 AM, Wilker wrote: > Thanks guys, > > When I said I'm not getting so much feedback, I was referring because more > time ago I talked about it in

Re: [rspec-users] Problem with before(:all)

2011-01-21 Thread Wilker
hing" do puts @myvar # 1 end --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Fri, Jan 21, 2011 at 11:12 AM, Rich Price wrote: > I have a module with two methods for marshaling objects. > The following rspec code is used to test this mod

Re: [rspec-users] 'require'ing files from other directories

2011-01-20 Thread Wilker
path("../../lib", __FILE__) require "codebreaker" another hint: you should require only main file of lib (codebreaker), and this file in lib should require the others (also, if you have some time, research about autoload, will be useful too ;)) --- Wilker Lúcio http://abo

Re: [rspec-users] undefined method `mock' for #

2011-01-19 Thread Wilker
Yeah, that is right, because mocks live on a space that is different for each spec (the MockSpace), this is why you can't create it in before :all ;) --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Wed, Jan 19, 2011 at 5:54 PM, Dan F. wrote: > Pl

Re: [rspec-users] Aidmock - safe mocking

2011-01-18 Thread Wilker
t and expects more feedback as possible :) Any suggestions, critics, any kind of feedback will be really welcome :) --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Wed, Jan 19, 2011 at 3:30 AM, Pat Maddox wrote: > On Jan 18, 2011, at 2:30 PM, Wilker wrote: &g

Re: [rspec-users] Aidmock - safe mocking

2011-01-18 Thread Wilker
But I will keep going on it, I really believe in the idea :) Thanks --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Tue, Jan 18, 2011 at 7:12 PM, David Chelimsky wrote: > On Jan 18, 2011, at 2:03 PM, Wilker wrote: > > David > > Also, will be

Re: [rspec-users] Aidmock - safe mocking

2011-01-18 Thread Wilker
Aidmock[1] you will see that I need to use a lot of "instance_variable_get" to accomplish the work, and it has a serious risk to broke in any rspec-mocks update... WDYT? [1] https://github.com/wilkerlucio/aidmock/blob/master/lib/aidmock/frameworks/rspec.rb --- Wilker Lúcio http://abou

Re: [rspec-users] major release required?

2011-01-18 Thread Wilker
ase generate a major change for 3.0 will make a lot of confusion for users. WDYT? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Tue, Jan 18, 2011 at 11:15 AM, David Chelimsky wrote: > Hi all, > > Since the release of rspec-2.0, I've been followi

Re: [rspec-users] Aidmock - safe mocking

2011-01-17 Thread Wilker
Dave, I just updated the gem and documentation, now supporting constrained_to on mocks :) You have any other suggestions for now? --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55 81 82556600 On Mon, Jan 17, 2011 at 9:53 AM, Wilker wrote: > You are right Dave, > &

Re: [rspec-users] Aidmock - safe mocking

2011-01-17 Thread Wilker
You are right Dave, I was thinking about it, but with a different interface, like: Aidmock.double(Interface) but I mean your is cooler, and user will be able to apply mocks/stubs directly I will work on it today :) Thanks --- Wilker Lúcio http://about.me/wilkerlucio/bio Kajabi Consultant +55

[rspec-users] Aidmock - safe mocking

2011-01-16 Thread Wilker
respecting defined interface. You can saw more about project motivation here(with some example of why it exists): https://github.com/wilkerlucio/aidmock/wiki/Motivation This project is a kind of experimental one, with a different idea, and any feedback will be really welcome. Thanks --- Wilker Lúcio