Sha256: 869b80cb31bd1363576cb29603b538e7928e4903aff355cb37b1e24aaee124db
Contents?: true
Size: 424 Bytes
Versions: 1
Compression:
Stored size: 424 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe "reports/show.html.haml" do it 'lists all columns as table headers' do view.should_receive(:report).at_least(1).and_return(Report.new(:used_columns => ['Person#last_name'], :code => "Person.all")) render :template => 'reports/show.html.haml' rendered.should have_selector('th:contains("Last name")') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
report_ui-0.0.1.alpha | spec/views/reports/show.html.haml_spec.rb |