Sha256: 78c45aa752491533d4636230de8e77dc1c0c172562da4f194026f40671d48e47
Contents?: true
Size: 792 Bytes
Versions: 27
Compression:
Stored size: 792 Bytes
Contents
require 'rails_helper' describe "produce_types/show" do before(:each) do @produce_type = assign(:produce_type, stub_model(ProduceType, 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
27 entries across 27 versions & 1 rubygems