Skip to content
Browse files

Trivial: Change variable names in work identifiers test

  • Loading branch information...
1 parent dec773e commit ed01445d7a85cccce05bdde42701dc984df89dd8 tim committed May 25, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/work_identifiers_spec.rb
View
8 spec/work_identifiers_spec.rb
@@ -19,15 +19,15 @@ def initialize(options = {})
end
before :each do
- @fake1 = ONIX::FakeWorkEntity.new(:isbn => 123456)
+ @fake = ONIX::FakeWorkEntity.new(:isbn => 123456)
data_path = File.join(File.dirname(__FILE__),"..","data")
- file1 = File.join(data_path, "fake_entity.xml")
- @doc = Nokogiri::XML::Document.parse(File.read(file1))
+ file = File.join(data_path, "fake_entity.xml")
+ @doc = Nokogiri::XML::Document.parse(File.read(file))
@root = @doc.root
end
it "should instantiate work identifiers array" do
- @fake1.work_identifiers.should be_a(Array)
+ @fake.work_identifiers.should be_a(Array)
end
it "should provide read access to work identifiers" do

0 comments on commit ed01445

Please sign in to comment.
Something went wrong with that request. Please try again.