Sha256: 2b69a7be40d3c009d181962d81ab8b7bacb5656874239dae8f85133f0481480b
Contents?: true
Size: 799 Bytes
Versions: 49
Compression:
Stored size: 799 Bytes
Contents
require 'spec_helper' describe "budget_types/show" do before(:each) do @budget_type = assign(:budget_type, stub_model(BudgetType, :name => "Name", :display_name => "MyText", :note => "MyText", :position => 1 )) 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/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/MyText/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/MyText/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/1/) end end
Version data entries
49 entries across 49 versions & 1 rubygems