[rspec-users] specing send_file

vo.x v.ondruch at gmail.com
Sat Feb 28 13:25:55 EST 2009


Uhh, sorry ... I will give it a try! Thank you for your help.

Vit




On 26 Ún, 15:29, David Chelimsky <dchelim... at gmail.com> wrote:
> On Thu, Feb 26, 2009 at 7:13 AM, vo.x <v.ondr... at gmail.com> wrote:
> > On 25 Ún, 16:18, David Chelimsky <dchelim... at gmail.com> wrote:
> >> On Wed, Feb 25, 2009 at 8:20 AM, vo.x <v.ondr... at gmail.com> wrote:
> >> > Aha, it seems that there is difference between behavior of Rails 2.1
> >> > and 2.3. In Rails 2.1 stubbing works like a charm but it fails with
> >> > Rails 2.3 :/
>
> >> That's a very general statement. Can you be more specific? What
> >> version of rspec are you using? Are you using rspec's mock/stub
> >> framework? What sort of failure messages do you get?
> >> _______________________________________________
> >> rspec-users mailing list
> >> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
>
> > Hello David,
>
> > I'm using rspec-rails 1.1.12, I'm using just rspec's mock/stub
> > framework.
>
> > With Rails 2.3 RC1 I experienced errors such as:
>
> rspec-rails 1.1.12 does not support rails 2.3
>
> Please use the latest source from github
>
> http://wiki.github.com/dchelimsky/rspec/rails-230
>
>
>
> > ActionView::MissingTemplate in 'LogsController handling GET /logs/
> > test.log/download should find the log requested'
> > Missing template logs/download.erb in view path app/views
>
> > Of course this template was not found since it is not necessary for
> > normal app run. With Rails 2.1 the same spec passes.
>
> > Vit
> > _______________________________________________
> > rspec-users mailing list
> > rspec-us... at rubyforge.org
> >http://rubyforge.org/mailman/listinfo/rspec-users
>
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list