Sha256: 1c044f2d9e4ea73b624953ea8c72c9720c19a894e97f453d6a412f09015537ac
Contents?: true
Size: 507 Bytes
Versions: 9
Compression:
Stored size: 507 Bytes
Contents
require 'spec_helper' # describe "purchases/show" do # before(:each) do # @purchase = assign(:purchase, stub_model(Purchase, # :title => "Title", # :description => "MyText", # :warranty_duration => 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(/Title/) # rendered.should match(/MyText/) # rendered.should match(/1/) # end # end
Version data entries
9 entries across 9 versions & 1 rubygems