Hi i am new to ROR .
I have mentioned to work on Rspec..
i have a code given by my boss..
I am having doubts in using them.
1. How should i keep that code in my railsprojects directory.. Should i
keep the package given by them directly in my directory or i have to use
rails appname
2.I actually tri
Hi,
I am new to ROR. I am working on Rspec..
I have been provided with a full package of an application.
I kept it in my rails dir.
The dir itself contains spec folder with some controllers/models and
fixtures but without spec_helper file.
So when i run $spec spec/ i got an error
/usr
On Aug 10, 2010, at 6:27 AM, Aruna Chinnamuthu wrote:
> Hi,
>
> I am new to ROR. I am working on Rspec..
> I have been provided with a full package of an application.
> I kept it in my rails dir.
> The dir itself contains spec folder with some controllers/models and
> fixtures but without spec_
On 9 Aug 2010, at 17:37, Rick DeNatale wrote:
> Well, I'd still use a different file name suffix which I could set
> textmate to recognize as a spec
>
> _sspec.rb or _sgroup.rb
>
> something like that.
Hi Rick,
I think that was what David was saying? (If I understood you both correctly,
tha
On 8 Aug 2010, at 21:53, Phillip Koebbe wrote:
> I don't think you are alone in your quest to achieve greater organization. I
> am guessing that in your suggested RSpec folder structure, the current
> folders of controllers|helpers|models|views would all live under examples? I
> might go for t
On 9 Aug 2010, at 13:49, David Chelimsky wrote:
> Yes, eval'd in order. No, not explicitly stated, but I think it should be.
> Want to submit a patch with a spec for this?
Sure - I've made an action to write a spec for this. I guess the
implementation is not likely to change any time soon so
On Tue, Aug 10, 2010 at 9:40 AM, Ashley Moran
wrote:
>
> On 9 Aug 2010, at 17:37, Rick DeNatale wrote:
>
>> Well, I'd still use a different file name suffix which I could set
>> textmate to recognize as a spec
>>
>> _sspec.rb or _sgroup.rb
>>
>> something like that.
>
> Hi Rick,
>
> I think that w
On Mon, Aug 9, 2010 at 11:21 AM, David Chelimsky wrote:
>> First of all, what's let! as opposed to let, I can't seem to find it
>> via google or the latest draft of the book.
>
> http://rdoc.info/projects/rspec/rspec-core - search for let and let!
>
>>
>> Second, unless let! is a new method which
On 10 Aug 2010, at 15:03, Rick DeNatale wrote:
> And easy to add yourself by just editing the bundle.
I've tried this before. Unfortunately, it just leads to pain when you try to
update the bundle via Git
>> Or... how about an actual dot-suffix, ".rspec", eg,
>> "active_record_associations.
On Aug 10, 2010, at 9:08 AM, Rick DeNatale wrote:
> On Mon, Aug 9, 2010 at 11:21 AM, David Chelimsky wrote:
>>> First of all, what's let! as opposed to let, I can't seem to find it
>>> via google or the latest draft of the book.
>>
>> http://rdoc.info/projects/rspec/rspec-core - search for let an
describe 'migration_generator' do
include RSpec::Rails::Orm::ActiveRecord
include RSpec::Rails::Migration
...
end
Didn't quite feel right. So I made it prettier DSL like using the
solution below ;)
class Class
def use_orm orm
class_eval do
include "RSpec::Rails::Orm::#{orm.to_s.c
I have a non rails app using rspec2. I created the autotest/
discover.rb and put in it Autotest.add_discovery {"rspec2"}. When I
run under bundler I get -
loading autotest/rspec2
and a prompt back
When standalone I get:
loading autotest/rspec2
style: Rspec2
and a prompt. Any ideasas to the pr
Hey guys,
This is making me nuts, and I've run out of things to google.
I'm writing myself a little gem library, primarily for my own
education. I got a healthy start on my specs and figured I could do
myself a favor and get the specs running under autotest. It's not
working quite like I expected
On Aug 10, 2010, at 10:45 PM, Pixel wrote:
> Hey guys,
> This is making me nuts, and I've run out of things to google.
> I'm writing myself a little gem library, primarily for my own
> education. I got a healthy start on my specs and figured I could do
> myself a favor and get the specs running u
14 matches
Mail list logo