Sha256: c479c7f7ba16ccf959c29ff05e398b3cd43b9f0fd7c2f8d490cd0154862ba94e
Contents?: true
Size: 743 Bytes
Versions: 9
Compression:
Stored size: 743 Bytes
Contents
require 'spec_helper' # describe "purchases/index" do # before(:each) do # assign(:purchases, [ # stub_model(Purchase, # :title => "Title", # :description => "MyText", # :warranty_duration => 1 # ), # stub_model(Purchase, # :title => "Title", # :description => "MyText", # :warranty_duration => 1 # ) # ]) # end # # it "renders a list of purchases" do # render # # Run the generator again with the --webrat flag if you want to use webrat matchers # assert_select "tr>td", :text => "Title".to_s, :count => 2 # assert_select "tr>td", :text => "MyText".to_s, :count => 2 # assert_select "tr>td", :text => 1.to_s, :count => 2 # end # end
Version data entries
9 entries across 9 versions & 1 rubygems