Skip to content

Commit

Permalink
Trivial: Change variable names in work identifiers test
Browse files Browse the repository at this point in the history
  • Loading branch information
tim committed May 25, 2011
1 parent dec773e commit ed01445
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/work_identifiers_spec.rb
Expand Up @@ -19,15 +19,15 @@ def initialize(options = {})
end end


before :each do before :each do
@fake1 = ONIX::FakeWorkEntity.new(:isbn => 123456) @fake = ONIX::FakeWorkEntity.new(:isbn => 123456)
data_path = File.join(File.dirname(__FILE__),"..","data") data_path = File.join(File.dirname(__FILE__),"..","data")
file1 = File.join(data_path, "fake_entity.xml") file = File.join(data_path, "fake_entity.xml")
@doc = Nokogiri::XML::Document.parse(File.read(file1)) @doc = Nokogiri::XML::Document.parse(File.read(file))
@root = @doc.root @root = @doc.root
end end


it "should instantiate work identifiers array" do it "should instantiate work identifiers array" do
@fake1.work_identifiers.should be_a(Array) @fake.work_identifiers.should be_a(Array)
end end


it "should provide read access to work identifiers" do it "should provide read access to work identifiers" do
Expand Down

0 comments on commit ed01445

Please sign in to comment.