ide of the
example groups.
What made me put the blame on rspec a few hours looking for clues in
rspecs error messages and code. Took me a while to narrow it down to
its essence.
Cheers
Rob
On Mar 18, 10:57 pm, Rob Westgeest wrote:
> Hi,
>
> A project of mine is using Runt expressions to ma
Hi,
A project of mine is using Runt expressions to match dates. When
upgraded my rake tasks to 2.5.1 (from 1.3.0) it get this
/usr/bin/ruby1.8 -S rspec spec/delivery_spec.rb spec/reporter_spec.rb
spec/mysql_dump_spec.rb spec/string_ext_spec.rb spec/
backup_configuration_spec.rb spec/postgres_dump
Hi,
rspec version: 2.4.0
Given this helper - snippet:
def participants_summary table
table.participants.collect{|participant|
show_short_participant_link(participant) }.join(', ')
end
def show_table_link(table)
link_to(table.name, :action => :show, :id => table)
end
---
and
Hi,
in rspec-1 view specs i had the ability to say:
login_as(some_role_or_account)
which made some helper methods like
current_account
that where used in views and controllers return something valuable.
Implementation was based on the fact that the controller in rspec-1
was ApplicationC
Thanks for your fast reply David,
> > The rake task requires spec/**/*.spec
>
> Close, but not quite. The default pattern is spec/**/*_spec.rb.
Typo sorry
>
> > Autotest rspec2 requires spec/**/*
>
> Again, this incorrect. Autotest fires off shell commands that include a list
> of files to load
I am having the same problem.
Autotest with rspec seem to differ from rspecs rake task in which
files to automatically require.
The rake task requires spec/**/*.spec
Autotest rspec2 requires spec/**/*
As I am sharing example groups in their own files names
(shared_*_examples.rb), and require the