search for: moduletest

Displaying 3 results from an estimated 3 matches for "moduletest".

Did you mean: modules_test
2012 Feb 22
3
Error 400 on SERVER: Cannot append, variable node_data is defined in this scope at
....another.domain.com'', ''port'' => ''2564'' }, ''node5'' => { ''server'' => ''node5.some.domain.com'', ''port'' => ''2564'' } } class { ''moduletest::test'': module_variable => $node_data } } But then I get the error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Cannot append, variable node_data is defined in this scope at /opt/puppet/env/manifests/classes/testclass.pp:1 on node testmp-t...
2006 Mar 20
0
HELP WITH MANY TO MANY IN FIXTURES
I have three tables, Courses (like finance 101) Courses_modules (many to many link table) Modules ( a part of a course like a module on supply and demand) In my Module test when I have the line class ModuleTest < Test::Unit::TestCase fixtures :course_modules , :modules The order that is happening is course_modules are deleted and then course_modules.yml file is called and inserts values. Then modules is called and gets a foreign key violation on delete. How do I avoid this when testing a many to m...
2006 Mar 23
0
HELP WITH MANY TO MANY IN FIXTURES.
...To: ''rails@lists.rubyonrails.org'' Subject: HELP WITH MANY TO MANY IN FIXTURES I have three tables, Courses (like finance 101) Courses_modules (many to many link table) Modules ( a part of a course like a module on supply and demand) In my Module test when I have the line class ModuleTest < Test::Unit::TestCase fixtures :course_modules , :modules The order that is happening is course_modules are deleted and then course_modules.yml file is called and inserts values. Then modules is called and gets a foreign key violation on delete. How do I avoid this when testing a many to m...