Sha256: b6fdcb0aa41f576f6bece3ecaf85c91f7b49b4f7358d8746b7fd2d0941d1b419
Contents?: true
Size: 433 Bytes
Versions: 2
Compression:
Stored size: 433 Bytes
Contents
require 'spec_helper' describe "company_businesses/show" do before(:each) do @company_business = assign(:company_business, stub_model(CompanyBusiness, :name => "Name", :enabled => false )) 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(/false/) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
guara-0.0.3 | spec/views/company_businesses/show.html.erb_spec.rb |
guara-0.0.1.rc | spec/views/company_businesses/show.html.erb_spec.rb |