Sha256: dde3bc9208a93bf13f9b284721951283da693a3119566237fdedd788b2decb03
Contents?: true
Size: 807 Bytes
Versions: 18
Compression:
Stored size: 807 Bytes
Contents
require 'spec_helper' describe "checkout_types/show" do before(:each) do @checkout_type = assign(:checkout_type, stub_model(CheckoutType, :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
18 entries across 18 versions & 1 rubygems