OSDN Git Service

import all source code
[pettanr/pettanr.git] / spec / views / original_pictures / edit.html.erb_spec.rb
1 require 'spec_helper'
2
3 describe "original_pictures/edit.html.erb" do
4   before(:each) do
5     @original_picture = assign(:original_picture, stub_model(OriginalPicture))
6   end
7
8   it "renders the edit original_picture form" do
9     render
10
11     # Run the generator again with the --webrat flag if you want to use webrat matchers
12     assert_select "form", :action => original_pictures_path(@original_picture), :method => "post" do
13     end
14   end
15 end