Sha256: 531da2e9a190a64bd695da7282c2e5fdfe233896d629ed186ae71227bf8172fe
Contents?: true
Size: 441 Bytes
Versions: 7
Compression:
Stored size: 441 Bytes
Contents
require 'spec_helper' describe StacheController do render_views it "can get to index and render a Mustache" do get :index assert_response 200 response.should render_template 'index' # view response.body.should =~ /Hello, Matt!/ end it "correctly renders partials" do get :with_partials assert_response 200 response.body.should =~ /Grue/ # puts response.body end end
Version data entries
7 entries across 7 versions & 1 rubygems