Commit c642f04a

mo k <mo@mokhan.ca>
2012-10-02 13:29:21
add spec to check for author and author_url
1 parent 21a9448
Changed files (1)
spec
views
spec/views/tutorials/edit.html.erb_spec.rb
@@ -13,6 +13,8 @@ describe "tutorials/edit" do
       assert_select "input#tutorial_heading", :name => "tutorial[heading]"
       assert_select "textarea#tutorial_description", :name => "tutorial[description]"
       assert_select "input#tutorial_url", :name => "tutorial[url]"
+      assert_select "input#tutorial_author", :name => "tutorial[author]"
+      assert_select "input#tutorial_author_url", :name => "tutorial[author_url]"
     end
   end
 end