rails (3.0.0.beta2)
Ubuntu 9.10
ruby 1.9.2-head
With a brand new app, I followed instructions found in
http://github.com/aslakhellesoy/cucumber-rails. It claimed I also
needed test-unit though, so I added it. My test group in Gemfile looks
like this:
group :test do
gem 'capybara'
gem 'database_cleaner'
gem 'cucumber-rails'
gem 'test-unit'
# Added the following because rake features also complained about
spec/expectations
gem 'rspec'
gem 'rspec-rails'
end
The output of rake features --trace is found here: http://pastie.org/907773
For what it's worth, I also tried using rspec 2.0.0.beta.5 and rspec-
rails 2.0.0.beta.1 but I came across this error instead:
http://github.com/rspec/rspec-rails/issues/#issue/12
If it's something I did wrong, let me know. If not, I can add it to
the list of issues in the cucumber gem (or maybe rspec/rspec-rails
gems).
Thanks!
Den 7. apr. 2010 kl. 18.51 skrev Ramon <ramon...@gmail.com>:
> My specs:
>
> rails (3.0.0.beta2)
> Ubuntu 9.10
> ruby 1.9.2-head
>
> With a brand new app, I followed instructions found in
> http://github.com/aslakhellesoy/cucumber-rails. It claimed I also
> needed test-unit though, so I added it. My test group in Gemfile looks
> like this:
>
> group :test do
> gem 'capybara'
> gem 'database_cleaner'
> gem 'cucumber-rails'
> gem 'test-unit'
>
> # Added the following because rake features also complained about
> spec/expectations
> gem 'rspec'
> gem 'rspec-rails'
> end
>
> The output of rake features --trace is found here: http://pastie.org/907773
>
rspec-rails 1.x doesn't - and won't support Rails 2. So you'll have to
wait until rspec-rails #12 is fixed.
In either case, this is not a Cucumber issue (except for the missing
test-unit doc "bug").
Aslak
> For what it's worth, I also tried using rspec 2.0.0.beta.5 and rspec-
> rails 2.0.0.beta.1 but I came across this error instead:
> http://github.com/rspec/rspec-rails/issues/#issue/12
>
> If it's something I did wrong, let me know. If not, I can add it to
> the list of issues in the cucumber gem (or maybe rspec/rspec-rails
> gems).
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Cukes" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to cukes+un...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/cukes?hl=en
> .
>
> Den 7. apr. 2010 kl. 18.51 skrev Ramon <ramon...@gmail.com>:
>
>> My specs:
>>
>> rails (3.0.0.beta2)
>> Ubuntu 9.10
>> ruby 1.9.2-head
>>
>> With a brand new app, I followed instructions found in
>> http://github.com/aslakhellesoy/cucumber-rails. It claimed I also
>> needed test-unit though, so I added it. My test group in Gemfile looks
>> like this:
>>
>> group :test do
>> gem 'capybara'
>> gem 'database_cleaner'
>> gem 'cucumber-rails'
>> gem 'test-unit'
>>
>> # Added the following because rake features also complained about
>> spec/expectations
>> gem 'rspec'
>> gem 'rspec-rails'
>> end
>>
>> The output of rake features --trace is found here: http://pastie.org/907773
>>
>
> rspec-rails 1.x doesn't - and won't support Rails 2. So you'll have to wait until rspec-rails #12 is fixed.
You mean rails-3?
Sorry, I meant Rails 3.
Aslak
That's what I figured :)
Just an FYI for all: rspec-rails-2 supports rails-3 now and there is also an rspec-rails-(name-tbd) gem in the works that will support rspec-2/rails-2.