test/functional/relations_controller_test.rb in zena-0.16.9 vs test/functional/relations_controller_test.rb in zena-1.0.0.beta1

- old
+ new

@@ -24,10 +24,10 @@ assert_response :success end def test_should_create_relation assert_difference('Relation.count', 1) do - post :create, :relation => {:source_role => 'wife', :target_role => 'husband'} + post :create, :relation => {:source_kpath => 'NR', :target_kpath => 'NP'} end assert_redirected_to relation_path(assigns(:relation)) end def test_should_show_relation \ No newline at end of file