When the code switches from sending out json to sending out html or json depending on the header sent my rspec tests crash and burn.
I have tried adding
get "/bookmarks", :format => :json
but this makes no difference.
Can anyone put me out of my misery and point me in the right direction?