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

Version Path
bookkeeper-0.0.7 spec/views/bookkeeper/purchases/index.html.erb_spec.rb
bookkeeper-0.0.6 spec/views/bookkeeper/purchases/index.html.erb_spec.rb
bookkeeper-0.0.5 spec/views/bookkeeper/purchases/index.html.erb_spec.rb
bookkeeper-0.0.4 spec/views/bookkeeper/purchases/index.html.erb_spec.rb
bookkeeper-0.0.3 spec/views/bookkeeper/purchases/index.html.erb_spec.rb
bookkeeper-0.0.2 spec/views/bookkeeper/purchases/index.html.erb_spec.rb
bookkeeper-0.0.1 spec/views/bookkeeper/purchases/index.html.erb_spec.rb
bookkeeper-0.0.1.beta2 spec/views/bookkeeper/purchases/index.html.erb_spec.rb
bookkeeper-0.0.1.beta1 spec/views/bookkeeper/purchases/index.html.erb_spec.rb