Re: [rspec-users] Access to asset_path helper in a Rails 3.1 application request spec

2011-09-25 Thread Justin Ko
On Sep 15, 2011, at 3:08 AM, Silumesii Maboshe wrote: > Hello! > > I am learning to use RSpec for testing Rails 3.1 applications - really > enjoying using it so far. > In testing for the presence of assets (e.g rails.png), I've been using: > > get "/assets/rails.png" > response.status.shou

[rspec-users] Access to asset_path helper in a Rails 3.1 application request spec

2011-09-24 Thread Silumesii Maboshe
Hello! I am learning to use RSpec for testing Rails 3.1 applications - really enjoying using it so far. In testing for the presence of assets (e.g rails.png), I've been using: get "/assets/rails.png" response.status.should be(200) After some reading about the Rails 3.1 asset pipeline I disc