diff options
Diffstat (limited to 'spec/rubyspec/library/rexml/element/instructions_spec.rb')
-rw-r--r-- | spec/rubyspec/library/rexml/element/instructions_spec.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/spec/rubyspec/library/rexml/element/instructions_spec.rb b/spec/rubyspec/library/rexml/element/instructions_spec.rb deleted file mode 100644 index 01a2374820..0000000000 --- a/spec/rubyspec/library/rexml/element/instructions_spec.rb +++ /dev/null @@ -1,21 +0,0 @@ -require 'rexml/document' -require File.expand_path('../../../../spec_helper', __FILE__) - -describe "REXML::Element#instructions" do - before :each do - @elem = REXML::Element.new("root") - end - it "returns the Instruction children nodes" do - inst = REXML::Instruction.new("xml-stylesheet", "href='headlines.css'") - @elem << inst - @elem.instructions.first.should == inst - end - - it "returns an empty array if it has no Instruction children" do - @elem.instructions.should be_empty - end - - it "freezes the returned array" do - @elem.instructions.frozen?.should be_true - end -end |