[rspec-users] link_to destroy

2013-06-11 Thread Oliver Jesus
Hello!I am getting error with destroy. If I've click destroy, it redirects to show.And that should happen. It should prompt a confirmation if you want to delete. Can you help me in this case.___ rspec-users mailing list rspec-users@rubyforge.org http://

[rspec-users] link_to destroy

2013-06-11 Thread oliver
Hello! I am getting error with destroy. If I've click destroy, it redirects to show. And that should happen. It should prompt a confirmation if you want to delete. Can you help me in this case. -- View this message in context: http://ruby.11.x6.nabble.com/error-link-to-destroy-tp4991678.html S

Re: [rspec-users] link_to destroy

2013-06-11 Thread oliver
<%= link_to 'Destroy', department_mst, :confirm => 'Are you sure?', :method => :delete %> ( :confirm => 'Are you sure?', :method => :delete) => this is not functioning when I created the rspec Please help me. Thanks! -- View this message in context: http://ruby.11.x6.nabble.com/error-link-to-

Re: [rspec-users] undefined local variable or method

2013-06-11 Thread Andy Lindeman
On Mon, Jun 10, 2013 at 9:16 PM, Guirec Corbel wrote: > I am using rspec-rails 2.14.0.rc1 Can you give this a try with the latest 2.14 from rspec-core git? We fixed an issue with `let` definitions that I think might be related. That is, add this to Gemfile and run `bundle update rspec-core`: ge

Re: [rspec-users] undefined local variable or method

2013-06-11 Thread Guirec Corbel
I have the same problem with many other. Thanks for your help. Le 2013-06-11 17:02, Andy Lindeman a écrit : On Mon, Jun 10, 2013 at 9:16 PM, Guirec Corbel wrote: I am using rspec-rails 2.14.0.rc1 Can you give this a try with the latest 2.14 from rspec-core git? We fixed an issue with `let` d