Sha256: 2703ff0aef4e43a455d5f47a075c26aad4d1f64fcebb4fe7d7f00edc71d98202
Contents?: true
Size: 444 Bytes
Versions: 2
Compression:
Stored size: 444 Bytes
Contents
require 'spec_helper' describe "business_departments/show" do before(:each) do @business_department = assign(:business_department, stub_model(BusinessDepartment, :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/business_departments/show.html.erb_spec.rb |
guara-0.0.1.rc | spec/views/business_departments/show.html.erb_spec.rb |