On May 9, 8:43 am, Scott Woods wrote:
> I get a slightly different error when following the gist. Here is my
> error, in case the extra data point helps:
>
> $ autotest
> loading autotest/rails_rspec_rspec2
> Error loading Autotest style autotest/rails_rspec_rspec2 (no such file
> to load -- autot
On May 11, 2010, at 3:33 AM, petr.blaho wrote:
> Hi there,
>
> is 'its' method implemented in rspec2?
Not yet, but coming soon:
http://github.com/rspec/rspec-core/issues#issue/22
Cheers,
David
> I use rspec2 with rails3 and want to use syntax like in this example:
>
> describe Array do
>
Hi there,
is 'its' method implemented in rspec2?
I use rspec2 with rails3 and want to use syntax like in this example:
describe Array do
subject { Array.new(4) }
its(:length) { should == 4 }
end
Is it possible?
With regards
Petr Blaho
___
I get a slightly different error when following the gist. Here is my
error, in case the extra data point helps:
$ autotest
loading autotest/rails_rspec_rspec2
Error loading Autotest style autotest/rails_rspec_rspec2 (no such file
to load -- autotest/rails_rspec_rspec2). Aborting.
Note the extra "
I could be wrong, Im new to rspec and RoR myself, but I can see the line "**
Execute db:abort_if_pending_migrations" before teh abort happens.
Have you rune rake db:migrate recently?
Matt
On 12 May 2010 14:46, Sascha Popovic wrote:
> Hello.
> I'm new to ROR and i'm trying to use RSpec.
> I use
Hello.
I'm new to ROR and i'm trying to use RSpec.
I use Rails 2.3.5.
I installed RSpec and RSpec-Rails as Plugin in my Project and i
installed the Gem.
Then i user script/generate rspec to generate the needed files.
When i want to use RSpec over Rake with "rake spec" i get the following
error: