Hi,
I have just been having the same problem on windows using autotest and/or
rspec_autotest
I have successfully moved to rspec and rspec on rails 1.1.3 ZenTest 3.9.2
So if you were on windows the fix in case you still may need it is here
http://rspec.lighthouseapp.com/projects/5645/tickets/80-15
Great !
Thanks Scott!
On Dec 7, 2007 4:19 PM, Scott Taylor <[EMAIL PROTECTED]> wrote:
>
> On Dec 7, 2007, at 3:57 PM, sinclair bain wrote:
>
> Hey Jed,
> Can you please provide a link to the recording you mentioned ?
>
> That would be great!
>
>
>
>
Hey Jed,
Can you please provide a link to the recording you mentioned ?
That would be great!
Cheers!
sinclair
On Dec 7, 2007 2:25 AM, Jed Hurt <[EMAIL PROTECTED]> wrote:
> Hey David,
> I just watched the RubyConf recording of your RSpec session and noticed
> that you're using a modified versi
Great !
As always thanks!
Cheers!
sinclair
On Nov 29, 2007 12:12 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Nov 29, 2007 11:06 AM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> > On Nov 29, 2007 10:55 AM, sinclair bain <[EMAIL PROTECTED]> wrote:
> > &
Hey,
I just updated from the edge and it looks like this _issue_ has resurfaced.
Yesterday things were working (stories and specs).
No code base changes, only rspec and rspec_on_rails
After updating today I now need to set to false in
the spec_helper.rb
to get the specs running, the stories ar
Matthew,
If your intent is to test the behaviour of your model(s), then yes mocking
and
stubbing are a good [_the_] way to go.
>
> Cheers!
sinclair
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Submitted error #15608.
On Nov 13, 2007 12:16 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Nov 13, 2007 11:05 AM, sinclair bain <[EMAIL PROTECTED]> wrote:
> > VERSION: rspec rails plugin current edge version
> > XP/Cygwin on XP
> >
> > Hi,
> &
VERSION: rspec rails plugin current edge version
XP/Cygwin on XP
Hi,
I hit this when trying to use parenthesis in my stories ... (that'll teach
me!).
If a scenario looks like the following:
Story "User has story with parentheses", %{
As a user
I want parenthesis
So that ... well I just do
Great!
/spec
/controllers
/models
/helpers
/views
is a common way to organize the specs
--
Cheers!
sinclair
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyfo
Pangel,
I run autotest on cygwin so it can work ... :)
Does rake spec work ?
Have you installed all gems in cygwin ?
How are you starting autotest ?
On 10/31/07, pangel <[EMAIL PROTECTED]> wrote:
>
>
> I am quite a beginner so maybe I'm not looking into the right place, but I
> don'
That's great!
Cheers!
sinclair
On 10/26/07, Ryan Heneise <[EMAIL PROTECTED]> wrote:
>
> On Oct 26, 2007, at 12:11 PM, sinclair bain wrote:
>
> > Ryan,
> >
> > Are you stubbing
> >
> > @current_company = Company.find_by_subdomain(account_subdomain
Ryan,
Are you stubbing
@current_company = *Company.find_by_subdomain(account_subdomain)*
in the inherited #find_current_company method ?
Make sure the @current_company is the same one upon which you have your
expectations ?
ie
before do
...
Company.stub!(:find_by_subdomain).and_return(@curr
Ryan,Not exactly sure what is the problem your are having ... however
Is the @current_person being assigned (set up) correctly in the
things_controller ?
Also may be refactor a #find_thing(...) instance method into the
@current_person class to
help with the encapsulation of things - literally.
T
Cheers Brian!
On 10/25/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> On 10/25/07, sinclair bain <[EMAIL PROTECTED]> wrote:
> > Guys,
> > This fix also removes the need to manually set the
> >
> > config.use_transact
Guys,This fix also removes the need to manually set the
config.use_transactional_fixtures = false
so this
config.use_transactional_fixtures = true
(the default) in spec/spec_helper.rb now works as before.
Good work Scott! Great persistence.
Thanks again David for putting the fix in !
Che
Ignorance *was* bliss.
Cheers!
sinclair
On 10/23/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> On 10/23/07, sinclair bain <[EMAIL PROTECTED]> wrote:
> > So ... somewhere in there lies the cause.; )
> >
> > Anyway I get the Story Runner back with
David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> On 10/23/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> > On 10/23/07, sinclair bain <[EMAIL PROTECTED]> wrote:
> > > This all occurs on WindowsXP
> >
> > Ah - I am therefore not able to help debug this p
.
Anyway I am where I was (?) .
I will poke around a little more ...
Thanks !
Cheers!
sinclair
On 10/23/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> On 10/23/07, sinclair bain <[EMAIL PROTECTED]> wrote:
> > Oops,
> >
> > A bit over-zealous on the send.
> &
Oops,
A bit over-zealous on the send.
As I meant to add
This was not the case last week. This did not occur until yesterday when I
svn upped the project (I had installed the rspec trunk as an svn:external).
This all occurs on WindowsXP
___
rspec-users ma
n the specs behave as coded i.e. 1 success and 1 fail.
This was not the case last week. This did not occur until
On 10/23/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> On 10/23/07, sinclair bain <[EMAIL PROTECTED]> wrote:
> > Hi,Updated from the trunk/edge again tod
Hi,
Updated from the trunk/edge again today however all the specs still fail as
before.
I uninstalled and moved back to the 1.0.8 release and all specs are
successful again.
Unfortunately, no Story Runner.
Cheers!
sinclair
On 10/22/07, sinclair bain <[EMAIL PROTECTED]> wrote:
>
Morning,
Having done an svn up this morning all my specs are broken with the
following:
SQLite3::SQLException in ServiceConfig with minimum set of valid parameters
should return nil for the service path'
SQL logic error or missing database
C:/development/sandbox/prototypes/user_admin_client/config
Hans that did it!
Thanks for that one!
Cheers!
sinclair
On 9/25/07, Hans de Graaff <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2007-09-14 at 17:51 -0400, sinclair bain wrote:
> >
> > def update
> > ...
> > if @config.update_attributes ( params[:new_con
Living and learning !
Cheers for that David!
Cheers!
sinclair
On 9/28/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> On 9/28/07, sinclair bain <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have the following example:
> >
> >
> >
Hi,
I have the following example:
it 'should have a form with an action attribute' do
response.should have_tag( "form[action=?]",
'/users/1/machines/1/trouble_tickets')
end
for a form like so:
<% form_for( :trouble_ticket,
:url => { :action => 'create',
:user_id => @
get :show, :writer_id => "1", :note_id => "1"
This may also
get :show, :writer_id => "1", :id => "1"
On 9/22/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> Controller specs are similar to Rails functional tests, except that
> they don't render views (unless you tell them to). So rath
Hi,
A controller has a method with the following
def update
...
if @config.update_attributes ( params[:new_config] )
redirect_to :action => :index
else
* render :action => :edit, :id => params[:id] # this line here*
end
...
end
The example has the following
Hi,
A controller has a method with the following
def update
...
if @config.update_attributes( params[:new_config] )
redirect_to :action => :index
else
* render :action => :edit, :id => params[:id] # this line here*
end
...
end
The example has the following
it
Hi!
Have you considered mocking / stubbing to test in isolation if that is
appropriate ?
sinclair
On 9/13/07, Luke Galea <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'm using Goldberg, an engine that provides roles based access
> control for my app. I need to login before I can do controller tests
Dave,
Got that ...
--colour
--format
progress
...
The latest ... all installed today ... except rspec 4 rails it is 1.0.
This was all going ok before I installed autotest (red, green and yellow).
On 8/9/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> On 8/9/07, sinclair
(WinXP)
Hi,
I have the autotest rails plugin running - detecting changes and running the
examples.
However the rspec color output (of which I am a fan) ... has stopped
happening
Anybody got a spare moment to point me in the right direction, please ?
Cheers!
sinclair
[Rails plugin 1.0.5]
Hi,
I am looking for some guidance.
When working on a partial which looks like this
I have some examples which should fail - I think - but do not:
it ' should fail' do
response.should have_tag( 'div.bug', :content => 'There is no
content!' )
end
32 matches
Mail list logo