spec/controllers/handlebars_controller_spec.rb in stache-0.9.0 vs spec/controllers/handlebars_controller_spec.rb in stache-0.9.1

- old
+ new

@@ -29,7 +29,14 @@ response.body.should =~ /Here's an image_path=\/assets\/image\.png/ response.body.should =~ /Here's a capitalized string: Lowercase/ end + it "doesn't blow up if it is missing data" do + get :with_missing_data + assert_response 200 + + response.body.should =~ /I should not \./ + end + end