Sha256: 7b4d612c805a2a1ea41377043bc8ac61ac7650418849cb4eca9e06bc15617c1e
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
require 'spec_helper' describe "users/show" do before(:each) do @user = assign(:user, stub_model(User, :name => "Name", :email => "Email" )) end it "renders attributes in <p>" do render # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/Name/) rendered.should match(/Email/) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stuffer-0.0.2 | lib/teststuff/spec/views/users/show.html.erb_spec.rb |
stuffer-0.0.1 | lib/teststuff/spec/views/users/show.html.erb_spec.rb |