Sha256: 8d2aaa344520b37625fa82c3837cac89f8bfb1014d0ed60ebe90c6952f1ef043
Contents?: true
Size: 605 Bytes
Versions: 2
Compression:
Stored size: 605 Bytes
Contents
require 'spec_helper' describe "business_departments/index" do before(:each) do assign(:business_departments, [ stub_model(BusinessDepartment, :name => "Name", :enabled => false ), stub_model(BusinessDepartment, :name => "Name", :enabled => false ) ]) end it "renders a list of business_departments" do render # Run the generator again with the --webrat flag if you want to use webrat matchers assert_select "tr>td", :text => "Name".to_s, :count => 2 assert_select "tr>td", :text => false.to_s, :count => 2 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
guara-0.0.3 | spec/views/business_departments/index.html.erb_spec.disabled |
guara-0.0.1.rc | spec/views/business_departments/index.html.erb_spec.disabled |