diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-03 23:12:43 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-01-03 23:12:43 +0100 |
commit | 069ab960ad7afcfbcabc35dcaa904c5940ee1b5c (patch) | |
tree | 75a91ce23619ab01cfb744568fb495f6edb78196 /spec/app_spec.rb | |
parent | d11475831dd832bda1bad297dce6cc0fc630f3d4 (diff) | |
download | zorglub-069ab960ad7afcfbcabc35dcaa904c5940ee1b5c.zip zorglub-069ab960ad7afcfbcabc35dcaa904c5940ee1b5c.tar.gz |
spec: remap nodes
Diffstat (limited to 'spec/app_spec.rb')
-rw-r--r-- | spec/app_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/app_spec.rb b/spec/app_spec.rb index d17c365..0e8375b 100644 --- a/spec/app_spec.rb +++ b/spec/app_spec.rb @@ -19,7 +19,7 @@ describe Zorglub do end # it "at should return mapped node" do - APP.at("/spec1").should be Node1 + APP.at("/node1").should be Node1 end # it "at should return nil if no Node mapped" do @@ -27,7 +27,7 @@ describe Zorglub do end # it "to should return path to node" do - APP.to(Node1).should == "/spec1" + APP.to(Node1).should == "/node1" end # it "to should return nil if not an existing Node" do @@ -35,7 +35,7 @@ describe Zorglub do end # it "to_hash should return a correct hash" do - APP.to_hash["/spec1"].should be Node1 + APP.to_hash["/node1"].should be Node1 end # end |