Sha256: 7639feb2aee896904da313e2c8dc6e82f054743fe57931d3d5e6d305bc3ee407
Contents?: true
Size: 788 Bytes
Versions: 27
Compression:
Stored size: 788 Bytes
Contents
require 'rails_helper' describe "create_types/show" do before(:each) do @create_type = assign(:create_type, stub_model(CreateType, 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