03 Nov '12, 6pm

RSpec with Ruby on Rails - Wrong number of arguments (1 for 0) when testing routes: I tried testing routes and j...

I tried testing routes and just copied the example from the rspec-rails documentation. describe "routing to profiles" do it "routes /profile/:username to profile#show for username" do expect(:get => "/profiles/jsmith").to route_to( :controller => "profiles", :action => "show", :username => "jsmith" ) end end I got the following error when running RSpec: Failures: 1) routing to profiles routes /profile/:username to profile#show for username Failure/Error: expect(:get => "/profiles/jsmith").to route_to( ArgumentError: wrong number of arguments (1 for 0) # ./spec/routing/test_spec.rb:11:in `block (2 levels) in <top (required)>' Finished in 0.001 seconds 1 example, 1 failure

Full article: http://stackoverflow.com/questions/13212410/rspec-with-ru...

Tweets

Race along some of the globe’s most scenic routes, from Patagonia to Cambodia

Race along some of the globe’s most scenic rout...

cntraveller.com 05 Nov '12, 3pm

Running a marathon is a refreshing way to go off-the-beaten track in a destination you may otherwise see only as a tourist...

Wrong Time To Complain:

bolehland.net 03 Nov '12, 5am

Miyari commented on Wrong Time To Complain - Don't complain on your own confort zone ya. ... adam gsixth commented on Wron...

(SgNA)OPINION: Foreigners - 1 Dogs - 0

The Incredible Hulk wannabe had been rattling the iron gate of a 60 year old neighbour because his dog barked. Another nei...

@dilaariff read this hahaha

bolehland.net 04 Nov '12, 2pm

Ernest commented on Instagram Hashtags - HAHAHA! last frame! epic expression! ... Miyari commented on Wrong Time To Compla...

Excel calendar export Class by skullzeek: I nee...

freelancer.com 31 Oct '12, 7pm

Project ID: 2610819 Project Type: Fixed Project Description: I need RSpec tested class Agenda which should do the followin...

70% off by Nov 5 2012 Ruby on Rails for Beginne...

udemy.com 04 Nov '12, 5pm

Michael Hartl's Ruby on Rails™ Tutorial for beginners is your complete video guided tour of modern Rails web development! ...

Use a PXIe vector signal generator to increase ...

tmworld.com 01 Nov '12, 6pm

Home > Manufacturing Test Center > Test How-To Use a PXIe vector signal generator to increase throughput in amplifier test...

“Ruby 2.0 on Rails // Speaker Deck”

speakerdeck.com 01 Nov '12, 10pm

Description Slides for RubyConf 2012 talk "Ruby 2.0 on Rails" http://rubyconf.org/ Other Presentations by this Speaker Rai...