search for: node_spec

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

2007 Nov 21
1
Load Balancing with secondary tables (not main as in the howto)
...se the syntax rules of ip: # ip route add help Usage: ip route { add | del | change | append | replace | monitor } ROUTE SELECTOR := [ root PREFIX ] [ match PREFIX ] [ exact PREFIX ] [ table TABLE_ID ] [ proto RTPROTO ] [ type TYPE ] [ scope SCOPE ] ROUTE := NODE_SPEC [ INFO_SPEC ] NODE_SPEC := [ TYPE ] PREFIX [ tos TOS ] [ table TABLE_ID ] [ proto RTPROTO ] [ scope SCOPE ] [ metric METRIC ] INFO_SPEC := NH OPTIONS FLAGS [ nexthop NH ]... NH := [ via ADDRESS ] [ dev STRING ] [ weight NUMBER ] NHFLAGS The question is, can I a...
2007 Mar 24
0
Testing Single Table Inheritance
...test with no fixtures set it does not add the "Task" type for project. [4;35;1mProject Columns(0.000000)[0m[0mSHOW FIELDS FROM nodes[0m [4;36;1mProject Load(0.000000)[0m[0;1mSELECT * FROM nodes WHERE ((nodes.`type` = ''Project''))[0m Here goes the _spec files: >>node_spec.rb require File.dirname(__FILE__) + ''/../spec_helper'' context "Given a generated node_spec.rb with fixtures loaded" do setup do @Nodes = Node.find(:all) end specify "fixtures should load 2 Nodes" do @Nodes.should have(2).records end end >>projec...
2007 Jul 18
10
Rails - Mock going out of scope?
...;'t expect it! The error occurred while evaluating nil.name /Users/mikel/working/universal_translator/config/../app/models/node.rb:29:in ''language_name'' /Users/mikel/working/universal_translator/config/../app/models/node.rb:29:in ''language_name'' ./spec/models/node_spec.rb:160: script/spec:4: