Fix spelling mistake revealed by failing test

Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/35fa29a9
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/35fa29a9
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/35fa29a9

Branch: refs/heads/master
Commit: 35fa29a92c224629af1ad5456a9b9a6d0c26447c
Parents: 0bd0901
Author: Peter Donald <[email protected]>
Authored: Sun May 25 17:18:37 2014 +1000
Committer: Peter Donald <[email protected]>
Committed: Sun May 25 17:18:37 2014 +1000

----------------------------------------------------------------------
 spec/ide/idea_spec.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/35fa29a9/spec/ide/idea_spec.rb
----------------------------------------------------------------------
diff --git a/spec/ide/idea_spec.rb b/spec/ide/idea_spec.rb
index adaabe2..50cfe03 100644
--- a/spec/ide/idea_spec.rb
+++ b/spec/ide/idea_spec.rb
@@ -484,7 +484,7 @@ describe Buildr::IntellijIdea do
       it "generates a web facet with derived webroots" do
         doc = xml_document(@foo._("foo.iml"))
         web_facet_xpath = ensure_facet_xpath(doc, 'web', 'Web')
-        doc.should 
have_xpath("#{web_facet_xpath}/configuration/webroots/root[@url='file://$MODULE_DIR$/src/main/webapp'
 and @realtive='/']")
+        doc.should 
have_xpath("#{web_facet_xpath}/configuration/webroots/root[@url='file://$MODULE_DIR$/src/main/webapp'
 and @relative='/']")
       end
     end
 
@@ -507,8 +507,8 @@ describe Buildr::IntellijIdea do
       it "generates a web facet with specified webroots" do
         doc = xml_document(@foo._("foo.iml"))
         web_facet_xpath = ensure_facet_xpath(doc, 'web', 'Web')
-        doc.should 
have_xpath("#{web_facet_xpath}/configuration/webroots/root[@url='file://$MODULE_DIR$/src/main/webapp2'
 and @realtive='/']")
-        doc.should 
have_xpath("#{web_facet_xpath}/configuration/webroots/root[@url='file://$MODULE_DIR$/src/main/css'
 and @realtive='/css']")
+        doc.should 
have_xpath("#{web_facet_xpath}/configuration/webroots/root[@url='file://$MODULE_DIR$/src/main/webapp2'
 and @relative='/']")
+        doc.should 
have_xpath("#{web_facet_xpath}/configuration/webroots/root[@url='file://$MODULE_DIR$/src/main/css'
 and @relative='/css']")
       end
     end
 

Reply via email to