Re: [rspec-users] RSpec2 collides with Runt but why ?

2011-03-18 Thread Rob Westgeest
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

[rspec-users] RSpec2 collides with Runt but why ?

2011-03-18 Thread Rob Westgeest
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

[rspec-users] [RAILS] [rspec 2.4.0] helper spec works but rails escapes all output

2011-02-02 Thread Rob Westgeest
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

[rspec-users] rspec-rails 2 adding current account helper to all view specs

2011-01-27 Thread Rob Westgeest
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

Re: [rspec-users] autotest giving error when having shared example in specs

2011-01-21 Thread Rob Westgeest
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

Re: [rspec-users] autotest giving error when having shared example in specs

2011-01-21 Thread Rob Westgeest
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