test/functional/users_controller_test.rb in zena-1.2.7 vs test/functional/users_controller_test.rb in zena-1.2.8

- old
+ new

@@ -27,12 +27,11 @@ context "with an invalid layout" do setup do login(:lion) # Make a bad admin layout - Version.connection.execute "UPDATE #{Version.table_name} SET properties = '{\"data\":{\"title\":\"foo\",\"text\":\"empty\"},\"json_class\":\"Property::Properties\"}' WHERE id = #{versions_id(:Node_admin_layout_zafu_en)}" + Version.connection.execute "UPDATE #{Version.table_name} SET properties = '{\"data\":{\"title\":\"foo\",\"text\":\"empty\",\"tkpath\":\"N\"},\"json_class\":\"Property::Properties\"}' WHERE id = #{versions_id(:Node_admin_layout_zafu_en)}" without_files('test.host/zafu') do - get 'index' get 'index' end end should_respond_with :success \ No newline at end of file