Correct test to check for scope rather than exports attribtue
Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/03bd79fc Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/03bd79fc Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/03bd79fc Branch: refs/heads/master Commit: 03bd79fc59280f0be413884e4ad05a737260e102 Parents: 35fa29a Author: Peter Donald <[email protected]> Authored: Sun May 25 17:18:57 2014 +1000 Committer: Peter Donald <[email protected]> Committed: Sun May 25 17:18:57 2014 +1000 ---------------------------------------------------------------------- spec/ide/idea_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/03bd79fc/spec/ide/idea_spec.rb ---------------------------------------------------------------------- diff --git a/spec/ide/idea_spec.rb b/spec/ide/idea_spec.rb index 50cfe03..15f7781 100644 --- a/spec/ide/idea_spec.rb +++ b/spec/ide/idea_spec.rb @@ -136,7 +136,7 @@ describe Buildr::IntellijIdea do end it "generates one exported 'module-library' orderEntry in IML" do - root_module_xml(@foo).should have_nodes("#{order_entry_xpath}[@type='module-library' and @exported='']/library/CLASSES/root", 1) + root_module_xml(@foo).should have_nodes("#{order_entry_xpath}[@type='module-library' and @scope='TEST']/library/CLASSES/root", 1) end end
