On Tue, Jan 19, 2010 at 5:24 AM, Amit Kulkarni
wrote:
> Any suggestions..
CCRB will run your migrations automatically. I would suggest you
start over by generating a fresh rails project and database. Create a
single scaffold and spec, and make sure it runs the specs via the
default task. Then
Hi Chad,
Finally got my rspec test cases run.
Thanks a lot for your guidance.
What i did is i followed the first point.i run the pending migrations and
just build the project.
It succeeded.
On Tue, Jan 19, 2010 at 5:54 PM, Amit Kulkarni
wrote:
> Hi,
> I tried your sugesstion but something is goin
Hi,
I tried your sugesstion but something is going wrong.I am missing something.
In "./cruise/projects/testproject/cruise_config.rb " i have define custom
rake task as:
project.rake_task = 'spec:conrollers'
Now after building the project again it is saying me that i have some
pending migrations r
On Mon, Jan 18, 2010 at 3:44 AM, Amit Kulkarni
wrote:
> Also please suggest how i can add only spec controller or spec models while
> running CI
Please try my previous suggestion and get your default rake task
working independent of CCRB, on the same machine you are using to run
CCRB.
___
Hi Chad,
Everything is working fine except the Rspec thing.
What i have done is as follows:
Under cruisecontrol.rb/tasks/cc_build.rake i had added the following code
desc "Task to do some preparations for CruiseControl"
task :prepare do
RAILS_ENV = 'test'
end
desc "Task for CruiseCont
On Fri, Jan 15, 2010 at 5:13 AM, Amit Kulkarni
wrote:
> Thanks a lot.It worked.
> But i got some error in migrations which i will figure it out.
> Also i have some queries which are as follows:
> 1: How do i point it to my Rspec test cases?
Your project's default rake task should run your rspec t
Thanks a lot.It worked.
But i got some error in migrations which i will figure it out.
Also i have some queries which are as follows:
1: How do i point it to my Rspec test cases?
2: By default it takes production environment?Can we change this to test
environment?Or should we run the cruise control
On Fri, Jan 15, 2010 at 4:06 AM, Amit Kulkarni
wrote:
> Project.configure do |project|
> project.email_notifier.emails = ["a...@gmail.com"]
> project.email_notifier.from = ["test...@gmail.com"]
> case project.name
> when 'testproject' then testproject.rake_task = 'spec:controllers'
>
Hello all,
I am new to use cruisecontrol and want some help about configuring a
project.
Following are the things which i have done.
1:I have added a project named testproject
2:I had configured the mail address.
3:It starts building when somebody checks in.
I had written some Rspec testcases and