Sha256: 91f6c6de42cfca9f637c65a44d6ec3d0d74b046e46af1eba0e18a676d1f574db
Contents?: true
Size: 439 Bytes
Versions: 1
Compression:
Stored size: 439 Bytes
Contents
require 'spec_helper' describe "users/show" do before(:each) do @user = assign(:user, stub_model(User, :new => "New", :index => "Index", :show => "Show" )) 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(/New/) rendered.should match(/Index/) rendered.should match(/Show/) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
genderize-0.0.4 | spec/dummy/spec/views/users/show.html.erb_spec.rb |