Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specs: add tests for asset_pipeline.rb (#554)
I enabled settings for test mode, which doesn't seem to noticeably impact performance, but gives us a little bit more test coverage.
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require "spec_helper" | ||
|
||
describe "AssetPipeline" do | ||
it "handles asset requests" do | ||
get("/assets/stylesheets/application.css") | ||
|
||
expect(last_response.body).to match("#feed-title") | ||
end | ||
end |