Sha256: 3e7cda63e07bfe6f04dad6b33c34a4b0cb46ac742af4afec7679cc7897fd6ba0

Contents?: true

Size: 764 Bytes

Versions: 9

Compression:

Stored size: 764 Bytes

Contents

require 'spec_helper'

# describe "purchases/edit" do
#   before(:each) do
#     @purchase = assign(:purchase, stub_model(Purchase,
#       :title => "MyString",
#       :description => "MyText",
#       :warranty_duration => 1
#     ))
#   end
#
#   it "renders the edit purchase form" do
#     render
#
#     # Run the generator again with the --webrat flag if you want to use webrat matchers
#     assert_select "form", :action => purchases_path(@purchase), :method => "post" do
#       assert_select "input#purchase_title", :name => "purchase[title]"
#       assert_select "textarea#purchase_description", :name => "purchase[description]"
#       assert_select "input#purchase_warranty_duration", :name => "purchase[warranty_duration]"
#     end
#   end
# end

Version data entries

9 entries across 9 versions & 1 rubygems

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